[llvm] r203977 - Re-format SampleProfile.cpp with clang-format. No functional changes.
Diego Novillo
dnovillo at google.com
Fri Mar 14 15:07:18 PDT 2014
Author: dnovillo
Date: Fri Mar 14 17:07:18 2014
New Revision: 203977
URL: http://llvm.org/viewvc/llvm-project?rev=203977&view=rev
Log:
Re-format SampleProfile.cpp with clang-format. No functional changes.
Modified:
llvm/trunk/lib/Transforms/Scalar/SampleProfile.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/SampleProfile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SampleProfile.cpp?rev=203977&r1=203976&r2=203977&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SampleProfile.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SampleProfile.cpp Fri Mar 14 17:07:18 2014
@@ -94,7 +94,7 @@ template <> struct DenseMapInfo<Instruct
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>
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.
///
More information about the llvm-commits
mailing list