]> granicus.if.org Git - llvm/commitdiff
Remove unnecessary anonymous namespace from a header
authorReid Kleckner <rnk@google.com>
Thu, 5 May 2016 20:30:48 +0000 (20:30 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 5 May 2016 20:30:48 +0000 (20:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268677 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/BlockFrequencyInfoImpl.h

index 387e9a887d93ceb8c8b11b29ba2fa2eab042e497..ea04049cd56e58abbf8638474c00e82db43543c7 100644 (file)
@@ -1173,12 +1173,10 @@ void BlockFrequencyInfoImpl<BT>::computeIrreducibleMass(
   updateLoopWithIrreducible(*OuterLoop);
 }
 
-namespace {
 // A helper function that converts a branch probability into weight.
 inline uint32_t getWeightFromBranchProb(const BranchProbability Prob) {
   return Prob.getNumerator();
 }
-} // namespace
 
 template <class BT>
 bool