[llvm] r207545 - Support: remove unnecessary namespace
Duncan P. N. Exon Smith
dexonsmith at apple.com
Tue Apr 29 09:15:40 PDT 2014
Author: dexonsmith
Date: Tue Apr 29 11:15:39 2014
New Revision: 207545
URL: http://llvm.org/viewvc/llvm-project?rev=207545&view=rev
Log:
Support: remove unnecessary namespace
Modified:
llvm/trunk/lib/Support/BranchProbability.cpp
Modified: llvm/trunk/lib/Support/BranchProbability.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/BranchProbability.cpp?rev=207545&r1=207544&r2=207545&view=diff
==============================================================================
--- llvm/trunk/lib/Support/BranchProbability.cpp (original)
+++ llvm/trunk/lib/Support/BranchProbability.cpp Tue Apr 29 11:15:39 2014
@@ -73,11 +73,7 @@ uint64_t BranchProbability::scaleByInver
return ::scale(Num, D, N);
}
-namespace llvm {
-
-raw_ostream &operator<<(raw_ostream &OS, const BranchProbability &Prob) {
+raw_ostream &llvm::operator<<(raw_ostream &OS, const BranchProbability &Prob) {
Prob.print(OS);
return OS;
}
-
-}
More information about the llvm-commits
mailing list