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 | 6726b6d75a8b679068a58cb954ba97cf9d1690ba (patch) | |
tree | 9e901e44f4933e507d7f8fc095cce1d9cdcc72ad /lib/Transforms/Utils/CloneFunction.cpp | |
parent | a1e1446056d54d116908fa1bba02998c92905464 (diff) | |
download | external_llvm-6726b6d75a8b679068a58cb954ba97cf9d1690ba.zip external_llvm-6726b6d75a8b679068a58cb954ba97cf9d1690ba.tar.gz external_llvm-6726b6d75a8b679068a58cb954ba97cf9d1690ba.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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/CloneFunction.cpp')
-rw-r--r-- | lib/Transforms/Utils/CloneFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/CloneFunction.cpp b/lib/Transforms/Utils/CloneFunction.cpp index 5e8bf0a..38297ff 100644 --- a/lib/Transforms/Utils/CloneFunction.cpp +++ b/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; |