diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-11 17:42:27 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-11 17:42:27 +0000 |
| commit | 6a44af36297ae61238bb7ad1e05e77bcc5571f72 (patch) | |
| tree | 70b0aee7b37df563d9e3c01312194cab536d0597 /llvm/lib/AsmParser | |
| parent | 786d32ecf7071c0c7cc8bdff46ac21d6d5c4fd33 (diff) | |
| download | bcm5719-llvm-6a44af36297ae61238bb7ad1e05e77bcc5571f72.tar.gz bcm5719-llvm-6a44af36297ae61238bb7ad1e05e77bcc5571f72.zip | |
Give internal classes hidden visibility.
Worth 100k on a linux/x86_64 Release+Asserts clang.
llvm-svn: 190534
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 85703c766b0..5dfb2be3b28 100644 --- a/llvm/lib/AsmParser/LLLexer.h +++ b/llvm/lib/AsmParser/LLLexer.h @@ -26,7 +26,7 @@ namespace llvm { class SMDiagnostic; class LLVMContext; - class LLLexer { + class LLVM_LIBRARY_VISIBILITY LLLexer { const char *CurPtr; MemoryBuffer *CurBuf; SMDiagnostic &ErrorInfo; diff --git a/llvm/lib/AsmParser/LLParser.h b/llvm/lib/AsmParser/LLParser.h index 594281e9082..4af6e970de3 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 ValID { + struct LLVM_LIBRARY_VISIBILITY ValID { enum { t_LocalID, t_GlobalID, // ID in UIntVal. t_LocalName, t_GlobalName, // Name in StrVal. @@ -83,7 +83,7 @@ namespace llvm { } }; - class LLParser { + class LLVM_LIBRARY_VISIBILITY LLParser { public: typedef LLLexer::LocTy LocTy; private: |

