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 | 745c872bb5a81edafd1c279267bc89e96b7c8d1e (patch) | |
tree | d1283ceabff0bd79f7c34163a71e14e3f4d8af34 /lib/Analysis/ProfileInfo.cpp | |
parent | 8b892ae3d6a23c2370ef64f6d4fe0a6abed94d39 (diff) | |
download | llvm-745c872bb5a81edafd1c279267bc89e96b7c8d1e.tar.gz llvm-745c872bb5a81edafd1c279267bc89e96b7c8d1e.tar.bz2 llvm-745c872bb5a81edafd1c279267bc89e96b7c8d1e.tar.xz |
Fix a warning when building with clang++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115924 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ProfileInfo.cpp')
-rw-r--r-- | lib/Analysis/ProfileInfo.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Analysis/ProfileInfo.cpp b/lib/Analysis/ProfileInfo.cpp index 9704b43cf5..cc28d436df 100644 --- 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"); |