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/CloneFunction.cpp | |
| parent | 13b8b56dd42f3a2e3419151653473be0f05129e5 (diff) | |
| download | bcm5719-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/Transforms/Utils/CloneFunction.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Utils/CloneFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/CloneFunction.cpp b/llvm/lib/Transforms/Utils/CloneFunction.cpp index 5e8bf0a44de..38297ff4bac 100644 --- a/llvm/lib/Transforms/Utils/CloneFunction.cpp +++ b/llvm/lib/Transforms/Utils/CloneFunction.cpp @@ -175,7 +175,7 @@ Function *llvm::CloneFunction(const Function *F, namespace { /// PruningFunctionCloner - This class is a private class used to implement /// the CloneAndPruneFunctionInto method. - struct VISIBILITY_HIDDEN PruningFunctionCloner { + struct PruningFunctionCloner { Function *NewFunc; const Function *OldFunc; DenseMap<const Value*, Value*> &ValueMap; |

