summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ShadowStackGC.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/CodeGen/ShadowStackGC.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/CodeGen/ShadowStackGC.cpp')
-rw-r--r--llvm/lib/CodeGen/ShadowStackGC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/ShadowStackGC.cpp b/llvm/lib/CodeGen/ShadowStackGC.cpp
index 25a499b8896..26da05f2b30 100644
--- a/llvm/lib/CodeGen/ShadowStackGC.cpp
+++ b/llvm/lib/CodeGen/ShadowStackGC.cpp
@@ -38,7 +38,7 @@ using namespace llvm;
namespace {
- class VISIBILITY_HIDDEN ShadowStackGC : public GCStrategy {
+ class ShadowStackGC : public GCStrategy {
/// RootChain - This is the global linked-list that contains the chain of GC
/// roots.
GlobalVariable *Head;
@@ -84,7 +84,7 @@ namespace {
///
/// It's wrapped up in a state machine using the same transform C# uses for
/// 'yield return' enumerators, This transform allows it to be non-allocating.
- class VISIBILITY_HIDDEN EscapeEnumerator {
+ class EscapeEnumerator {
Function &F;
const char *CleanupBBName;
OpenPOWER on IntegriCloud