diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-11 18:05:11 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-11 18:05:11 +0000 |
commit | 55c06ae7afa3f862a6bb4a4441fe485c135f5b5e (patch) | |
tree | 69baf1b1251ad67c8f31ea6f02243d85c9558ada /lib/AsmParser | |
parent | ff058f0a701b601f1593f2a9c8030acb652fdba6 (diff) | |
download | external_llvm-55c06ae7afa3f862a6bb4a4441fe485c135f5b5e.zip external_llvm-55c06ae7afa3f862a6bb4a4441fe485c135f5b5e.tar.gz external_llvm-55c06ae7afa3f862a6bb4a4441fe485c135f5b5e.tar.bz2 |
Revert "Give internal classes hidden visibility."
It works with clang, but GCC has different rules so we can't make all of those
hidden. This reverts commit r190534.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser')
-rw-r--r-- | lib/AsmParser/LLLexer.h | 2 | ||||
-rw-r--r-- | lib/AsmParser/LLParser.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/AsmParser/LLLexer.h b/lib/AsmParser/LLLexer.h index 5dfb2be..85703c7 100644 --- a/lib/AsmParser/LLLexer.h +++ b/lib/AsmParser/LLLexer.h @@ -26,7 +26,7 @@ namespace llvm { class SMDiagnostic; class LLVMContext; - class LLVM_LIBRARY_VISIBILITY LLLexer { + class LLLexer { const char *CurPtr; MemoryBuffer *CurBuf; SMDiagnostic &ErrorInfo; diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h index 4af6e97..594281e 100644 --- a/lib/AsmParser/LLParser.h +++ b/lib/AsmParser/LLParser.h @@ -42,7 +42,7 @@ namespace llvm { /// There are several cases where we have to parse the value but where the /// type can depend on later context. This may either be a numeric reference /// or a symbolic (%var) reference. This is just a discriminated union. - struct LLVM_LIBRARY_VISIBILITY ValID { + struct ValID { enum { t_LocalID, t_GlobalID, // ID in UIntVal. t_LocalName, t_GlobalName, // Name in StrVal. @@ -83,7 +83,7 @@ namespace llvm { } }; - class LLVM_LIBRARY_VISIBILITY LLParser { + class LLParser { public: typedef LLLexer::LocTy LocTy; private: |