diff options
author | Owen Anderson <resistor@mac.com> | 2010-10-07 17:04:18 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-10-07 17:04:18 +0000 |
commit | 82d38df40ca79ef35407862f9ec51615dc30f5e0 (patch) | |
tree | 673c5f93050ff2e6c1887cae2fd135cca54cdbb0 /llvm/lib | |
parent | daab660fb13bf32834536a45eb2aaae4b7c5a64e (diff) | |
download | bcm5719-llvm-82d38df40ca79ef35407862f9ec51615dc30f5e0.tar.gz bcm5719-llvm-82d38df40ca79ef35407862f9ec51615dc30f5e0.zip |
Fix a warning when building with clang++.
llvm-svn: 115924
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Analysis/ProfileInfo.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ProfileInfo.cpp b/llvm/lib/Analysis/ProfileInfo.cpp index 9704b43cf57..cc28d436dfe 100644 --- a/llvm/lib/Analysis/ProfileInfo.cpp +++ b/llvm/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"); |