summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit02d5f77d262152db2eb82164fd4246d60217024a (patch)
treeaa5d3d13f0e945f7f9921e18f20f79b809f01140 /llvm/lib/Analysis/ProfileInfo.cpp
parent13b8b56dd42f3a2e3419151653473be0f05129e5 (diff)
downloadbcm5719-llvm-02d5f77d262152db2eb82164fd4246d60217024a.tar.gz
bcm5719-llvm-02d5f77d262152db2eb82164fd4246d60217024a.zip
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. llvm-svn: 85042
Diffstat (limited to 'llvm/lib/Analysis/ProfileInfo.cpp')
-rw-r--r--llvm/lib/Analysis/ProfileInfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ProfileInfo.cpp b/llvm/lib/Analysis/ProfileInfo.cpp
index 9efdd23081c..faa56fc4ee0 100644
--- a/llvm/lib/Analysis/ProfileInfo.cpp
+++ b/llvm/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) {}
};
OpenPOWER on IntegriCloud