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 | 079b96e6f7f3948d06d57937cd5068cbbd790ab0 (patch) | |
| tree | 937025d8ebbcdac824652a8a17860f85cb77e063 /llvm/lib/AsmParser | |
| parent | 9aeba4963aa61503d1542808eb1cd2b647646767 (diff) | |
| download | bcm5719-llvm-079b96e6f7f3948d06d57937cd5068cbbd790ab0.tar.gz bcm5719-llvm-079b96e6f7f3948d06d57937cd5068cbbd790ab0.zip | |
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.
llvm-svn: 190536
Diffstat (limited to 'llvm/lib/AsmParser')
| -rw-r--r-- | llvm/lib/AsmParser/LLLexer.h | 2 | ||||
| -rw-r--r-- | llvm/lib/AsmParser/LLParser.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.h b/llvm/lib/AsmParser/LLLexer.h index 5dfb2be3b28..85703c766b0 100644 --- a/llvm/lib/AsmParser/LLLexer.h +++ b/llvm/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/llvm/lib/AsmParser/LLParser.h b/llvm/lib/AsmParser/LLParser.h index 4af6e970de3..594281e9082 100644 --- a/llvm/lib/AsmParser/LLParser.h +++ b/llvm/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: |

