Fix a funky "declared with greater visibility than the type of its field"
authorJeffrey Yasskin <jyasskin@google.com>
Tue, 3 Nov 2009 06:29:36 +0000 (06:29 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Tue, 3 Nov 2009 06:29:36 +0000 (06:29 +0000)
warning from gcc by removing VISIBILITY_HIDDEN attributes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85873 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index c2af999429236312af99441c073ac25c960d0a41..fbb5acec0dcda2f13722c6393c5097e4d15887e4 100644 (file)
@@ -124,7 +124,7 @@ public:
 //===----------------------------------------------------------------------===//
 /// DbgVariable - This class is used to track local variable information.
 ///
-class VISIBILITY_HIDDEN DbgVariable {
+class DbgVariable {
   DIVariable Var;                    // Variable Descriptor.
   unsigned FrameIndex;               // Variable frame index.
   bool InlinedFnVar;                 // Variable for an inlined function.
@@ -142,7 +142,7 @@ public:
 /// DbgScope - This class is used to track scope information.
 ///
 class DbgConcreteScope;
-class VISIBILITY_HIDDEN DbgScope {
+class DbgScope {
   DbgScope *Parent;                   // Parent to this scope.
   DIDescriptor Desc;                  // Debug info descriptor for scope.
                                       // FIXME use WeakVH for Desc.