diff options
| author | Diego Novillo <dnovillo@google.com> | 2014-03-14 22:07:18 +0000 |
|---|---|---|
| committer | Diego Novillo <dnovillo@google.com> | 2014-03-14 22:07:18 +0000 |
| commit | 709590838ff772a315012a9270604406dcd26d63 (patch) | |
| tree | 4eda1e321cd95f3a054a5f38c2d0444c65ac3f21 /llvm | |
| parent | a32aa3251cb5a16757c0c7994392a2da222752fd (diff) | |
| download | bcm5719-llvm-709590838ff772a315012a9270604406dcd26d63.tar.gz bcm5719-llvm-709590838ff772a315012a9270604406dcd26d63.zip | |
Re-format SampleProfile.cpp with clang-format. No functional changes.
llvm-svn: 203977
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/SampleProfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/SampleProfile.cpp b/llvm/lib/Transforms/Scalar/SampleProfile.cpp index e8adc64eeee..f1d6ba0f228 100644 --- a/llvm/lib/Transforms/Scalar/SampleProfile.cpp +++ b/llvm/lib/Transforms/Scalar/SampleProfile.cpp @@ -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) { @@ -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. /// |

