From 55c06ae7afa3f862a6bb4a4441fe485c135f5b5e Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 11 Sep 2013 18:05:11 +0000 Subject: 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 --- lib/AsmParser/LLLexer.h | 2 +- lib/AsmParser/LLParser.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/AsmParser') 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: -- cgit v1.1