projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b892ae
)
Fix a warning when building with clang++.
author
Owen Anderson
<resistor@mac.com>
Thu, 7 Oct 2010 17:04:18 +0000
(17:04 +0000)
committer
Owen Anderson
<resistor@mac.com>
Thu, 7 Oct 2010 17:04:18 +0000
(17:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115924
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/ProfileInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ProfileInfo.cpp
b/lib/Analysis/ProfileInfo.cpp
index 9704b43cf57e15bca27e0d430429ad114a774745..cc28d436dfefc88c413e6fac9b57bcca7992331e 100644
(file)
--- a/
lib/Analysis/ProfileInfo.cpp
+++ b/
lib/Analysis/ProfileInfo.cpp
@@
-24,8
+24,9
@@
#include <limits>
using namespace llvm;
-template<>
-char llvm::ProfileInfoT<Function,BasicBlock>::ID = 0;
+namespace llvm {
+ template<> char ProfileInfoT<Function,BasicBlock>::ID = 0;
+}
// Register the ProfileInfo interface, providing a nice name to refer to.
INITIALIZE_ANALYSIS_GROUP(ProfileInfo, "Profile Information");