summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstCount.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/InstCount.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/InstCount.cpp')
-rw-r--r--llvm/lib/Analysis/InstCount.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/InstCount.cpp b/llvm/lib/Analysis/InstCount.cpp
index 4cde7935772..79a519e3200 100644
--- a/llvm/lib/Analysis/InstCount.cpp
+++ b/llvm/lib/Analysis/InstCount.cpp
@@ -34,8 +34,7 @@ STATISTIC(TotalMemInst, "Number of memory instructions");
namespace {
- class VISIBILITY_HIDDEN InstCount
- : public FunctionPass, public InstVisitor<InstCount> {
+ class InstCount : public FunctionPass, public InstVisitor<InstCount> {
friend class InstVisitor<InstCount>;
void visitFunction (Function &F) { ++TotalFuncs; }
OpenPOWER on IntegriCloud