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/IR/AsmWriter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/IR/AsmWriter.h') diff --git a/lib/IR/AsmWriter.h b/lib/IR/AsmWriter.h index 9e8355719a..8f4a37777e 100644 --- a/lib/IR/AsmWriter.h +++ b/lib/IR/AsmWriter.h @@ -39,7 +39,7 @@ SlotTracker *createSlotTracker(const Module *M); // TypePrinting Class: Type printing machinery //===----------------------------------------------------------------------===// -class LLVM_LIBRARY_VISIBILITY TypePrinting { +class TypePrinting { TypePrinting(const TypePrinting &) LLVM_DELETED_FUNCTION; void operator=(const TypePrinting&) LLVM_DELETED_FUNCTION; public: @@ -61,7 +61,7 @@ public: void printStructBody(StructType *Ty, raw_ostream &OS); }; -class LLVM_LIBRARY_VISIBILITY AssemblyWriter { +class AssemblyWriter { protected: formatted_raw_ostream &Out; const Module *TheModule; -- cgit v1.2.3