[llvm] r316513 - Printable.h: Don't mark header functions as file local
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 24 14:29:19 PDT 2017
Author: dblaikie
Date: Tue Oct 24 14:29:19 2017
New Revision: 316513
URL: http://llvm.org/viewvc/llvm-project?rev=316513&view=rev
Log:
Printable.h: Don't mark header functions as file local
Modified:
llvm/trunk/include/llvm/Support/Printable.h
Modified: llvm/trunk/include/llvm/Support/Printable.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Printable.h?rev=316513&r1=316512&r2=316513&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Printable.h (original)
+++ llvm/trunk/include/llvm/Support/Printable.h Tue Oct 24 14:29:19 2017
@@ -42,7 +42,7 @@ public:
: Print(std::move(Print)) {}
};
-static inline raw_ostream &operator<<(raw_ostream &OS, const Printable &P) {
+inline raw_ostream &operator<<(raw_ostream &OS, const Printable &P) {
P.Print(OS);
return OS;
}
More information about the llvm-commits
mailing list