summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h6
-rw-r--r--llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp3
2 files changed, 6 insertions, 3 deletions
diff --git a/llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h b/llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
index 73408016e09..c434b539561 100644
--- a/llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
+++ b/llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
@@ -131,7 +131,8 @@ inline raw_ostream &operator<<(raw_ostream &OS, const BlockMass &X) {
template <> struct isPodLike<BlockMass> {
static const bool value = true;
};
-}
+
+} // end namespace llvm
//===----------------------------------------------------------------------===//
//
@@ -1183,7 +1184,8 @@ raw_ostream &BlockFrequencyInfoImpl<BT>::print(raw_ostream &OS) const {
OS << "\n";
return OS;
}
-}
+
+} // end namespace llvm
#undef DEBUG_TYPE
diff --git a/llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp b/llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp
index 4fd2c111317..39d7f520b4e 100644
--- a/llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp
+++ b/llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp
@@ -87,7 +87,8 @@ struct DitheringDistributer {
BlockMass takeMass(uint32_t Weight);
};
-}
+
+} // end namespace
DitheringDistributer::DitheringDistributer(Distribution &Dist,
const BlockMass &Mass) {
OpenPOWER on IntegriCloud