Skip to content

Commit

Permalink
Re-format SampleProfile.cpp with clang-format. No functional changes.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203977 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
dnovillo committed Mar 14, 2014
1 parent 3f7c2f3 commit 68c1cb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Transforms/Scalar/SampleProfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ template <> struct DenseMapInfo<InstructionLocation> {
DiscriminatorInfo::getTombstoneKey());
}
static inline unsigned getHashValue(InstructionLocation Val) {
return DenseMapInfo<std::pair<int, unsigned> >::getHashValue(
return DenseMapInfo<std::pair<int, unsigned>>::getHashValue(
std::pair<int, unsigned>(Val.LineOffset, Val.Discriminator));
}
static inline bool isEqual(InstructionLocation LHS, InstructionLocation RHS) {
Expand All @@ -110,7 +110,7 @@ typedef DenseMap<BasicBlock *, unsigned> BlockWeightMap;
typedef DenseMap<BasicBlock *, BasicBlock *> EquivalenceClassMap;
typedef std::pair<BasicBlock *, BasicBlock *> Edge;
typedef DenseMap<Edge, unsigned> EdgeWeightMap;
typedef DenseMap<BasicBlock *, SmallVector<BasicBlock *, 8> > BlockEdgeMap;
typedef DenseMap<BasicBlock *, SmallVector<BasicBlock *, 8>> BlockEdgeMap;

/// \brief Representation of the runtime profile for a function.
///
Expand Down

0 comments on commit 68c1cb4

Please sign in to comment.