summaryrefslogtreecommitdiff
path: root/lib/Analysis/ProfileInfo.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-10-25 06:33:48 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-10-25 06:33:48 +0000
commit6726b6d75a8b679068a58cb954ba97cf9d1690ba (patch)
tree9e901e44f4933e507d7f8fc095cce1d9cdcc72ad /lib/Analysis/ProfileInfo.cpp
parenta1e1446056d54d116908fa1bba02998c92905464 (diff)
downloadllvm-6726b6d75a8b679068a58cb954ba97cf9d1690ba.tar.gz
llvm-6726b6d75a8b679068a58cb954ba97cf9d1690ba.tar.bz2
llvm-6726b6d75a8b679068a58cb954ba97cf9d1690ba.tar.xz
Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.
Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ProfileInfo.cpp')
-rw-r--r--lib/Analysis/ProfileInfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Analysis/ProfileInfo.cpp b/lib/Analysis/ProfileInfo.cpp
index 9efdd23081..faa56fc4ee 100644
--- a/lib/Analysis/ProfileInfo.cpp
+++ b/lib/Analysis/ProfileInfo.cpp
@@ -178,8 +178,7 @@ raw_ostream& llvm::operator<<(raw_ostream &O, ProfileInfo::Edge E) {
//
namespace {
- struct VISIBILITY_HIDDEN NoProfileInfo
- : public ImmutablePass, public ProfileInfo {
+ struct NoProfileInfo : public ImmutablePass, public ProfileInfo {
static char ID; // Class identification, replacement for typeinfo
NoProfileInfo() : ImmutablePass(&ID) {}
};