diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-10-25 06:33:48 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-10-25 06:33:48 +0000 |
commit | 02d5f77d262152db2eb82164fd4246d60217024a (patch) | |
tree | aa5d3d13f0e945f7f9921e18f20f79b809f01140 /llvm/lib/Transforms/Utils/Mem2Reg.cpp | |
parent | 13b8b56dd42f3a2e3419151653473be0f05129e5 (diff) | |
download | llvm-02d5f77d262152db2eb82164fd4246d60217024a.zip llvm-02d5f77d262152db2eb82164fd4246d60217024a.tar.gz llvm-02d5f77d262152db2eb82164fd4246d60217024a.tar.bz2 |
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/Transforms/Utils/Mem2Reg.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/Mem2Reg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/Mem2Reg.cpp b/llvm/lib/Transforms/Utils/Mem2Reg.cpp index 5df0832..d9f665f 100644 --- a/llvm/lib/Transforms/Utils/Mem2Reg.cpp +++ b/llvm/lib/Transforms/Utils/Mem2Reg.cpp @@ -26,7 +26,7 @@ using namespace llvm; STATISTIC(NumPromoted, "Number of alloca's promoted"); namespace { - struct VISIBILITY_HIDDEN PromotePass : public FunctionPass { + struct PromotePass : public FunctionPass { static char ID; // Pass identification, replacement for typeid PromotePass() : FunctionPass(&ID) {} |