[llvm] r190536 - Revert "Give internal classes hidden visibility."

Eric Christopher echristo at gmail.com
Wed Sep 11 11:19:43 PDT 2013


On Wed, Sep 11, 2013 at 11:05 AM, Benjamin Kramer
<benny.kra at googlemail.com> wrote:
> Author: d0k
> Date: Wed Sep 11 13:05:11 2013
> New Revision: 190536
>
> URL: http://llvm.org/viewvc/llvm-project?rev=190536&view=rev
> Log:
> 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.
>

That's troublesome.

-eric

> Modified:
>     llvm/trunk/lib/AsmParser/LLLexer.h
>     llvm/trunk/lib/AsmParser/LLParser.h
>     llvm/trunk/lib/Bitcode/Reader/BitcodeReader.h
>     llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.h
>     llvm/trunk/lib/CodeGen/AggressiveAntiDepBreaker.h
>     llvm/trunk/lib/CodeGen/AllocationOrder.h
>     llvm/trunk/lib/CodeGen/AntiDepBreaker.h
>     llvm/trunk/lib/CodeGen/AsmPrinter/DIE.h
>     llvm/trunk/lib/CodeGen/AsmPrinter/DIEHash.h
>     llvm/trunk/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
>     llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
>     llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
>     llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.h
>     llvm/trunk/lib/CodeGen/BranchFolding.h
>     llvm/trunk/lib/CodeGen/CriticalAntiDepBreaker.h
>     llvm/trunk/lib/CodeGen/InterferenceCache.h
>     llvm/trunk/lib/CodeGen/LiveDebugVariables.h
>     llvm/trunk/lib/CodeGen/LiveRangeCalc.h
>     llvm/trunk/lib/CodeGen/PrologEpilogInserter.h
>     llvm/trunk/lib/CodeGen/RegAllocBase.h
>     llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.h
>     llvm/trunk/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
>     llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
>     llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
>     llvm/trunk/lib/CodeGen/SpillPlacement.h
>     llvm/trunk/lib/CodeGen/SplitKit.h
>     llvm/trunk/lib/IR/AsmWriter.h
>     llvm/trunk/lib/IR/AttributeImpl.h
>     llvm/trunk/lib/IR/ConstantsContext.h
>     llvm/trunk/lib/IR/LLVMContextImpl.h
>     llvm/trunk/lib/IR/LeaksContext.h
>     llvm/trunk/lib/Transforms/Instrumentation/DebugIR.h
>     llvm/trunk/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h
>     llvm/trunk/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.h
>     llvm/trunk/lib/Transforms/ObjCARC/ProvenanceAnalysis.h
>
> Modified: llvm/trunk/lib/AsmParser/LLLexer.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLLexer.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/AsmParser/LLLexer.h (original)
> +++ llvm/trunk/lib/AsmParser/LLLexer.h Wed Sep 11 13:05:11 2013
> @@ -26,7 +26,7 @@ namespace llvm {
>    class SMDiagnostic;
>    class LLVMContext;
>
> -  class LLVM_LIBRARY_VISIBILITY LLLexer {
> +  class LLLexer {
>      const char *CurPtr;
>      MemoryBuffer *CurBuf;
>      SMDiagnostic &ErrorInfo;
>
> Modified: llvm/trunk/lib/AsmParser/LLParser.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/AsmParser/LLParser.h (original)
> +++ llvm/trunk/lib/AsmParser/LLParser.h Wed Sep 11 13:05:11 2013
> @@ -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:
>
> Modified: llvm/trunk/lib/Bitcode/Reader/BitcodeReader.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Reader/BitcodeReader.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Bitcode/Reader/BitcodeReader.h (original)
> +++ llvm/trunk/lib/Bitcode/Reader/BitcodeReader.h Wed Sep 11 13:05:11 2013
> @@ -32,7 +32,7 @@ namespace llvm {
>  //                          BitcodeReaderValueList Class
>  //===----------------------------------------------------------------------===//
>
> -class LLVM_LIBRARY_VISIBILITY BitcodeReaderValueList {
> +class BitcodeReaderValueList {
>    std::vector<WeakVH> ValuePtrs;
>
>    /// ResolveConstants - As we resolve forward-referenced constants, we add
> @@ -91,7 +91,7 @@ public:
>  //                          BitcodeReaderMDValueList Class
>  //===----------------------------------------------------------------------===//
>
> -class LLVM_LIBRARY_VISIBILITY BitcodeReaderMDValueList {
> +class BitcodeReaderMDValueList {
>    std::vector<WeakVH> MDValuePtrs;
>
>    LLVMContext &Context;
> @@ -121,7 +121,7 @@ public:
>    void AssignValue(Value *V, unsigned Idx);
>  };
>
> -class LLVM_LIBRARY_VISIBILITY BitcodeReader : public GVMaterializer {
> +class BitcodeReader : public GVMaterializer {
>    LLVMContext &Context;
>    Module *TheModule;
>    MemoryBuffer *Buffer;
>
> Modified: llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.h (original)
> +++ llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.h Wed Sep 11 13:05:11 2013
> @@ -34,7 +34,7 @@ class ValueSymbolTable;
>  class MDSymbolTable;
>  class raw_ostream;
>
> -class LLVM_LIBRARY_VISIBILITY ValueEnumerator {
> +class ValueEnumerator {
>  public:
>    typedef std::vector<Type*> TypeList;
>
>
> Modified: llvm/trunk/lib/CodeGen/AggressiveAntiDepBreaker.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AggressiveAntiDepBreaker.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/AggressiveAntiDepBreaker.h (original)
> +++ llvm/trunk/lib/CodeGen/AggressiveAntiDepBreaker.h Wed Sep 11 13:05:11 2013
> @@ -34,7 +34,7 @@ class RegisterClassInfo;
>
>    /// Class AggressiveAntiDepState
>    /// Contains all the state necessary for anti-dep breaking.
> -  class LLVM_LIBRARY_VISIBILITY AggressiveAntiDepState {
> +  class AggressiveAntiDepState {
>    public:
>      /// RegisterReference - Information about a register reference
>      /// within a liverange
> @@ -114,8 +114,7 @@ class RegisterClassInfo;
>
>
>    /// Class AggressiveAntiDepBreaker
> -  class LLVM_LIBRARY_VISIBILITY AggressiveAntiDepBreaker
> -      : public AntiDepBreaker {
> +  class AggressiveAntiDepBreaker : public AntiDepBreaker {
>      MachineFunction& MF;
>      MachineRegisterInfo &MRI;
>      const TargetInstrInfo *TII;
>
> Modified: llvm/trunk/lib/CodeGen/AllocationOrder.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AllocationOrder.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/AllocationOrder.h (original)
> +++ llvm/trunk/lib/CodeGen/AllocationOrder.h Wed Sep 11 13:05:11 2013
> @@ -25,7 +25,7 @@ namespace llvm {
>  class RegisterClassInfo;
>  class VirtRegMap;
>
> -class LLVM_LIBRARY_VISIBILITY AllocationOrder {
> +class AllocationOrder {
>    SmallVector<MCPhysReg, 16> Hints;
>    ArrayRef<MCPhysReg> Order;
>    int Pos;
>
> Modified: llvm/trunk/lib/CodeGen/AntiDepBreaker.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AntiDepBreaker.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/AntiDepBreaker.h (original)
> +++ llvm/trunk/lib/CodeGen/AntiDepBreaker.h Wed Sep 11 13:05:11 2013
> @@ -28,7 +28,7 @@ namespace llvm {
>  /// AntiDepBreaker - This class works into conjunction with the
>  /// post-RA scheduler to rename registers to break register
>  /// anti-dependencies.
> -class LLVM_LIBRARY_VISIBILITY AntiDepBreaker {
> +class AntiDepBreaker {
>  public:
>    typedef std::vector<std::pair<MachineInstr *, MachineInstr *> >
>      DbgValueVector;
>
> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DIE.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DIE.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/AsmPrinter/DIE.h (original)
> +++ llvm/trunk/lib/CodeGen/AsmPrinter/DIE.h Wed Sep 11 13:05:11 2013
> @@ -30,7 +30,7 @@ namespace llvm {
>    //===--------------------------------------------------------------------===//
>    /// DIEAbbrevData - Dwarf abbreviation data, describes one attribute of a
>    /// Dwarf abbreviation.
> -  class LLVM_LIBRARY_VISIBILITY DIEAbbrevData {
> +  class DIEAbbrevData {
>      /// Attribute - Dwarf attribute code.
>      ///
>      uint16_t Attribute;
> @@ -53,7 +53,7 @@ namespace llvm {
>    //===--------------------------------------------------------------------===//
>    /// DIEAbbrev - Dwarf abbreviation, describes the organization of a debug
>    /// information object.
> -  class LLVM_LIBRARY_VISIBILITY DIEAbbrev : public FoldingSetNode {
> +  class DIEAbbrev : public FoldingSetNode {
>      /// Tag - Dwarf tag code.
>      ///
>      uint16_t Tag;
> @@ -107,7 +107,7 @@ namespace llvm {
>    /// describes its organization.
>    class DIEValue;
>
> -  class LLVM_LIBRARY_VISIBILITY DIE {
> +  class DIE {
>    protected:
>      /// Offset - Offset in debug info section.
>      ///
> @@ -188,7 +188,7 @@ namespace llvm {
>    //===--------------------------------------------------------------------===//
>    /// DIEValue - A debug information entry value.
>    ///
> -  class LLVM_LIBRARY_VISIBILITY DIEValue {
> +  class DIEValue {
>      virtual void anchor();
>    public:
>      enum {
> @@ -228,7 +228,7 @@ namespace llvm {
>    //===--------------------------------------------------------------------===//
>    /// DIEInteger - An integer value DIE.
>    ///
> -  class LLVM_LIBRARY_VISIBILITY DIEInteger : public DIEValue {
> +  class DIEInteger : public DIEValue {
>      uint64_t Integer;
>    public:
>      explicit DIEInteger(uint64_t I) : DIEValue(isInteger), Integer(I) {}
> @@ -270,7 +270,7 @@ namespace llvm {
>    //===--------------------------------------------------------------------===//
>    /// DIEExpr - An expression DIE.
>    //
> -  class LLVM_LIBRARY_VISIBILITY DIEExpr : public DIEValue {
> +  class DIEExpr : public DIEValue {
>      const MCExpr *Expr;
>    public:
>      explicit DIEExpr(const MCExpr *E) : DIEValue(isExpr), Expr(E) {}
> @@ -298,7 +298,7 @@ namespace llvm {
>    //===--------------------------------------------------------------------===//
>    /// DIELabel - A label DIE.
>    //
> -  class LLVM_LIBRARY_VISIBILITY DIELabel : public DIEValue {
> +  class DIELabel : public DIEValue {
>      const MCSymbol *Label;
>    public:
>      explicit DIELabel(const MCSymbol *L) : DIEValue(isLabel), Label(L) {}
> @@ -326,7 +326,7 @@ namespace llvm {
>    //===--------------------------------------------------------------------===//
>    /// DIEDelta - A simple label difference DIE.
>    ///
> -  class LLVM_LIBRARY_VISIBILITY DIEDelta : public DIEValue {
> +  class DIEDelta : public DIEValue {
>      const MCSymbol *LabelHi;
>      const MCSymbol *LabelLo;
>    public:
> @@ -352,7 +352,7 @@ namespace llvm {
>    //===--------------------------------------------------------------------===//
>    /// DIEString - A container for string values.
>    ///
> -  class LLVM_LIBRARY_VISIBILITY DIEString : public DIEValue {
> +  class DIEString : public DIEValue {
>      const DIEValue *Access;
>      const StringRef Str;
>
> @@ -383,7 +383,7 @@ namespace llvm {
>    /// DIEEntry - A pointer to another debug information entry.  An instance of
>    /// this class can also be used as a proxy for a debug information entry not
>    /// yet defined (ie. types.)
> -  class LLVM_LIBRARY_VISIBILITY DIEEntry : public DIEValue {
> +  class DIEEntry : public DIEValue {
>      DIE *const Entry;
>    public:
>      explicit DIEEntry(DIE *E) : DIEValue(isEntry), Entry(E) {
> @@ -417,7 +417,7 @@ namespace llvm {
>    //===--------------------------------------------------------------------===//
>    /// DIEBlock - A block of values.  Primarily used for location expressions.
>    //
> -  class LLVM_LIBRARY_VISIBILITY DIEBlock : public DIEValue, public DIE {
> +  class DIEBlock : public DIEValue, public DIE {
>      unsigned Size;                // Size in bytes excluding size header.
>    public:
>      DIEBlock()
>
> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DIEHash.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DIEHash.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/AsmPrinter/DIEHash.h (original)
> +++ llvm/trunk/lib/CodeGen/AsmPrinter/DIEHash.h Wed Sep 11 13:05:11 2013
> @@ -19,7 +19,7 @@ class CompileUnit;
>
>  /// \brief An object containing the capability of hashing and adding hash
>  /// attributes onto a DIE.
> -class LLVM_LIBRARY_VISIBILITY DIEHash {
> +class DIEHash {
>    // The entry for a particular attribute.
>    struct AttrEntry {
>      const DIEValue *Val;
>
> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfAccelTable.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfAccelTable.h (original)
> +++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfAccelTable.h Wed Sep 11 13:05:11 2013
> @@ -65,7 +65,7 @@ class AsmPrinter;
>  class DIE;
>  class DwarfUnits;
>
> -class LLVM_LIBRARY_VISIBILITY DwarfAccelTable {
> +class DwarfAccelTable {
>
>    static uint32_t HashDJB(StringRef Str) {
>      uint32_t h = 5381;
>
> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h (original)
> +++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h Wed Sep 11 13:05:11 2013
> @@ -34,7 +34,7 @@ class DbgVariable;
>  //===----------------------------------------------------------------------===//
>  /// CompileUnit - This dwarf writer support class manages information associated
>  /// with a source file.
> -class LLVM_LIBRARY_VISIBILITY CompileUnit {
> +class CompileUnit {
>    /// UniqueID - a numeric ID unique among all CUs in the module
>    ///
>    unsigned UniqueID;
>
> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h (original)
> +++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h Wed Sep 11 13:05:11 2013
> @@ -44,7 +44,7 @@ class DIEEntry;
>
>  //===----------------------------------------------------------------------===//
>  /// \brief This class is used to record source line correspondence.
> -class LLVM_LIBRARY_VISIBILITY SrcLineInfo {
> +class SrcLineInfo {
>    unsigned Line;                     // Source line number.
>    unsigned Column;                   // Source column.
>    unsigned SourceID;                 // Source ID number.
> @@ -62,7 +62,7 @@ public:
>
>  /// \brief This struct describes location entries emitted in the .debug_loc
>  /// section.
> -class LLVM_LIBRARY_VISIBILITY DotDebugLocEntry {
> +class DotDebugLocEntry {
>    // Begin and end symbols for the address range that this location is valid.
>    const MCSymbol *Begin;
>    const MCSymbol *End;
> @@ -143,7 +143,7 @@ public:
>
>  //===----------------------------------------------------------------------===//
>  /// \brief This class is used to track local variable information.
> -class LLVM_LIBRARY_VISIBILITY DbgVariable {
> +class DbgVariable {
>    DIVariable Var;                    // Variable Descriptor.
>    DIE *TheDIE;                       // Variable DIE.
>    unsigned DotDebugLocOffset;        // Offset in DotDebugLocEntries.
> @@ -212,7 +212,7 @@ public:
>
>  /// \brief Collects and handles information specific to a particular
>  /// collection of units.
> -class LLVM_LIBRARY_VISIBILITY DwarfUnits {
> +class DwarfUnits {
>    // Target of Dwarf emission, used for sizing of abbreviations.
>    AsmPrinter *Asm;
>
> @@ -301,7 +301,7 @@ public:
>  };
>
>  /// \brief Collects and handles dwarf debug information.
> -class LLVM_LIBRARY_VISIBILITY DwarfDebug {
> +class DwarfDebug {
>    // Target of Dwarf emission.
>    AsmPrinter *Asm;
>
>
> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.h (original)
> +++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.h Wed Sep 11 13:05:11 2013
> @@ -34,7 +34,7 @@ class AsmPrinter;
>  //===----------------------------------------------------------------------===//
>  /// DwarfException - Emits Dwarf exception handling directives.
>  ///
> -class LLVM_LIBRARY_VISIBILITY DwarfException {
> +class DwarfException {
>  protected:
>    /// Asm - Target of Dwarf emission.
>    AsmPrinter *Asm;
> @@ -141,7 +141,7 @@ public:
>    virtual void EndFunction();
>  };
>
> -class LLVM_LIBRARY_VISIBILITY DwarfCFIException : public DwarfException {
> +class DwarfCFIException : public DwarfException {
>    /// shouldEmitPersonality - Per-function flag to indicate if .cfi_personality
>    /// should be emitted.
>    bool shouldEmitPersonality;
> @@ -175,7 +175,7 @@ public:
>    virtual void EndFunction();
>  };
>
> -class LLVM_LIBRARY_VISIBILITY ARMException : public DwarfException {
> +class ARMException : public DwarfException {
>    void EmitTypeInfos(unsigned TTypeEncoding);
>  public:
>    //===--------------------------------------------------------------------===//
> @@ -196,7 +196,7 @@ public:
>    virtual void EndFunction();
>  };
>
> -class LLVM_LIBRARY_VISIBILITY Win64Exception : public DwarfException {
> +class Win64Exception : public DwarfException {
>    /// shouldEmitPersonality - Per-function flag to indicate if personality
>    /// info should be emitted.
>    bool shouldEmitPersonality;
>
> Modified: llvm/trunk/lib/CodeGen/BranchFolding.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/BranchFolding.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/BranchFolding.h (original)
> +++ llvm/trunk/lib/CodeGen/BranchFolding.h Wed Sep 11 13:05:11 2013
> @@ -21,7 +21,7 @@ namespace llvm {
>    class TargetInstrInfo;
>    class TargetRegisterInfo;
>
> -  class LLVM_LIBRARY_VISIBILITY BranchFolder {
> +  class BranchFolder {
>    public:
>      explicit BranchFolder(bool defaultEnableTailMerge, bool CommonHoist);
>
>
> Modified: llvm/trunk/lib/CodeGen/CriticalAntiDepBreaker.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/CriticalAntiDepBreaker.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/CriticalAntiDepBreaker.h (original)
> +++ llvm/trunk/lib/CodeGen/CriticalAntiDepBreaker.h Wed Sep 11 13:05:11 2013
> @@ -31,7 +31,7 @@ class RegisterClassInfo;
>  class TargetInstrInfo;
>  class TargetRegisterInfo;
>
> -  class LLVM_LIBRARY_VISIBILITY CriticalAntiDepBreaker : public AntiDepBreaker {
> +  class CriticalAntiDepBreaker : public AntiDepBreaker {
>      MachineFunction& MF;
>      MachineRegisterInfo &MRI;
>      const TargetInstrInfo *TII;
>
> Modified: llvm/trunk/lib/CodeGen/InterferenceCache.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/InterferenceCache.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/InterferenceCache.h (original)
> +++ llvm/trunk/lib/CodeGen/InterferenceCache.h Wed Sep 11 13:05:11 2013
> @@ -21,7 +21,7 @@ namespace llvm {
>
>  class LiveIntervals;
>
> -class LLVM_LIBRARY_VISIBILITY InterferenceCache {
> +class InterferenceCache {
>    const TargetRegisterInfo *TRI;
>    LiveIntervalUnion *LIUArray;
>    MachineFunction *MF;
>
> Modified: llvm/trunk/lib/CodeGen/LiveDebugVariables.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveDebugVariables.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/LiveDebugVariables.h (original)
> +++ llvm/trunk/lib/CodeGen/LiveDebugVariables.h Wed Sep 11 13:05:11 2013
> @@ -30,7 +30,7 @@ class LiveInterval;
>  class LiveIntervals;
>  class VirtRegMap;
>
> -class LLVM_LIBRARY_VISIBILITY LiveDebugVariables : public MachineFunctionPass {
> +class LiveDebugVariables : public MachineFunctionPass {
>    void *pImpl;
>  public:
>    static char ID; // Pass identification, replacement for typeid
>
> Modified: llvm/trunk/lib/CodeGen/LiveRangeCalc.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveRangeCalc.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/LiveRangeCalc.h (original)
> +++ llvm/trunk/lib/CodeGen/LiveRangeCalc.h Wed Sep 11 13:05:11 2013
> @@ -33,7 +33,7 @@ class MachineDominatorTree;
>  template <class NodeT> class DomTreeNodeBase;
>  typedef DomTreeNodeBase<MachineBasicBlock> MachineDomTreeNode;
>
> -class LLVM_LIBRARY_VISIBILITY LiveRangeCalc {
> +class LiveRangeCalc {
>    const MachineFunction *MF;
>    const MachineRegisterInfo *MRI;
>    SlotIndexes *Indexes;
>
> Modified: llvm/trunk/lib/CodeGen/PrologEpilogInserter.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PrologEpilogInserter.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/PrologEpilogInserter.h (original)
> +++ llvm/trunk/lib/CodeGen/PrologEpilogInserter.h Wed Sep 11 13:05:11 2013
> @@ -33,7 +33,7 @@ namespace llvm {
>    class RegScavenger;
>    class MachineBasicBlock;
>
> -  class LLVM_LIBRARY_VISIBILITY PEI : public MachineFunctionPass {
> +  class PEI : public MachineFunctionPass {
>    public:
>      static char ID;
>      PEI() : MachineFunctionPass(ID) {
>
> Modified: llvm/trunk/lib/CodeGen/RegAllocBase.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocBase.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/RegAllocBase.h (original)
> +++ llvm/trunk/lib/CodeGen/RegAllocBase.h Wed Sep 11 13:05:11 2013
> @@ -56,7 +56,7 @@ class Spiller;
>  /// Register allocators must override the selectOrSplit() method to implement
>  /// live range splitting. They must also override enqueue/dequeue to provide an
>  /// assignment order.
> -class LLVM_LIBRARY_VISIBILITY RegAllocBase {
> +class RegAllocBase {
>  protected:
>    const TargetRegisterInfo *TRI;
>    MachineRegisterInfo *MRI;
>
> Modified: llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.h (original)
> +++ llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.h Wed Sep 11 13:05:11 2013
> @@ -26,7 +26,7 @@ class MachineInstrBuilder;
>  class MCInstrDesc;
>  class SDDbgValue;
>
> -class LLVM_LIBRARY_VISIBILITY InstrEmitter {
> +class InstrEmitter {
>    MachineFunction *MF;
>    MachineRegisterInfo *MRI;
>    const TargetMachine *TM;
>
> Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h (original)
> +++ llvm/trunk/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h Wed Sep 11 13:05:11 2013
> @@ -27,7 +27,7 @@ class Value;
>  /// SDDbgValue - Holds the information from a dbg_value node through SDISel.
>  /// We do not use SDValue here to avoid including its header.
>
> -class LLVM_LIBRARY_VISIBILITY SDDbgValue {
> +class SDDbgValue {
>  public:
>    enum DbgValueKind {
>      SDNODE = 0,             // value is the result of an expression
>
> Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h (original)
> +++ llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h Wed Sep 11 13:05:11 2013
> @@ -33,7 +33,7 @@ namespace llvm {
>    /// edges.  Physical register dependence information is not carried in
>    /// the DAG and must be handled explicitly by schedulers.
>    ///
> -  class LLVM_LIBRARY_VISIBILITY ScheduleDAGSDNodes : public ScheduleDAG {
> +  class ScheduleDAGSDNodes : public ScheduleDAG {
>    public:
>      MachineBasicBlock *BB;
>      SelectionDAG *DAG;                    // DAG of the current basic block
>
> Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h (original)
> +++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h Wed Sep 11 13:05:11 2013
> @@ -79,7 +79,7 @@ class ZExtInst;
>  /// SelectionDAGBuilder - This is the common target-independent lowering
>  /// implementation that is parameterized by a TargetLowering object.
>  ///
> -class LLVM_LIBRARY_VISIBILITY SelectionDAGBuilder {
> +class SelectionDAGBuilder {
>    /// CurInst - The current instruction being visited
>    const Instruction *CurInst;
>
>
> Modified: llvm/trunk/lib/CodeGen/SpillPlacement.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SpillPlacement.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/SpillPlacement.h (original)
> +++ llvm/trunk/lib/CodeGen/SpillPlacement.h Wed Sep 11 13:05:11 2013
> @@ -39,7 +39,7 @@ class EdgeBundles;
>  class MachineBasicBlock;
>  class MachineLoopInfo;
>
> -class LLVM_LIBRARY_VISIBILITY SpillPlacement : public MachineFunctionPass {
> +class SpillPlacement  : public MachineFunctionPass {
>    struct Node;
>    const MachineFunction *MF;
>    const EdgeBundles *bundles;
>
> Modified: llvm/trunk/lib/CodeGen/SplitKit.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SplitKit.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/SplitKit.h (original)
> +++ llvm/trunk/lib/CodeGen/SplitKit.h Wed Sep 11 13:05:11 2013
> @@ -39,7 +39,7 @@ class raw_ostream;
>
>  /// SplitAnalysis - Analyze a LiveInterval, looking for live range splitting
>  /// opportunities.
> -class LLVM_LIBRARY_VISIBILITY SplitAnalysis {
> +class SplitAnalysis {
>  public:
>    const MachineFunction &MF;
>    const VirtRegMap &VRM;
> @@ -208,7 +208,7 @@ public:
>  /// - Finish the current interval with closeIntv and repeat from 2.
>  /// - Rewrite instructions with finish().
>  ///
> -class LLVM_LIBRARY_VISIBILITY SplitEditor {
> +class SplitEditor {
>    SplitAnalysis &SA;
>    LiveIntervals &LIS;
>    VirtRegMap &VRM;
>
> Modified: llvm/trunk/lib/IR/AsmWriter.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/AsmWriter.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/IR/AsmWriter.h (original)
> +++ llvm/trunk/lib/IR/AsmWriter.h Wed Sep 11 13:05:11 2013
> @@ -39,7 +39,7 @@ SlotTracker *createSlotTracker(const Mod
>  // 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;
>
> Modified: llvm/trunk/lib/IR/AttributeImpl.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/AttributeImpl.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/IR/AttributeImpl.h (original)
> +++ llvm/trunk/lib/IR/AttributeImpl.h Wed Sep 11 13:05:11 2013
> @@ -29,7 +29,7 @@ class LLVMContext;
>  /// \class
>  /// \brief This class represents a single, uniqued attribute. That attribute
>  /// could be a single enum, a tuple, or a string.
> -class LLVM_LIBRARY_VISIBILITY AttributeImpl : public FoldingSetNode {
> +class AttributeImpl : public FoldingSetNode {
>    unsigned char KindID; ///< Holds the AttrEntryKind of the attribute
>
>    // AttributesImpl is uniqued, these should not be publicly available.
> @@ -93,7 +93,7 @@ public:
>  /// represented by Attribute::AttrKind; alignment attribute entries; and string
>  /// attribute enties, which are for target-dependent attributes.
>
> -class LLVM_LIBRARY_VISIBILITY EnumAttributeImpl : public AttributeImpl {
> +class EnumAttributeImpl : public AttributeImpl {
>    Attribute::AttrKind Kind;
>
>  protected:
> @@ -107,7 +107,7 @@ public:
>    Attribute::AttrKind getEnumKind() const { return Kind; }
>  };
>
> -class LLVM_LIBRARY_VISIBILITY AlignAttributeImpl : public EnumAttributeImpl {
> +class AlignAttributeImpl : public EnumAttributeImpl {
>    unsigned Align;
>
>  public:
> @@ -121,7 +121,7 @@ public:
>    unsigned getAlignment() const { return Align; }
>  };
>
> -class LLVM_LIBRARY_VISIBILITY StringAttributeImpl : public AttributeImpl {
> +class StringAttributeImpl : public AttributeImpl {
>    std::string Kind;
>    std::string Val;
>
> @@ -137,7 +137,7 @@ public:
>  /// \class
>  /// \brief This class represents a group of attributes that apply to one
>  /// element: function, return type, or parameter.
> -class LLVM_LIBRARY_VISIBILITY AttributeSetNode : public FoldingSetNode {
> +class AttributeSetNode : public FoldingSetNode {
>    unsigned NumAttrs; ///< Number of attributes in this node.
>
>    AttributeSetNode(ArrayRef<Attribute> Attrs) : NumAttrs(Attrs.size()) {
> @@ -180,7 +180,7 @@ public:
>  /// \class
>  /// \brief This class represents a set of attributes that apply to the function,
>  /// return type, and parameters.
> -class LLVM_LIBRARY_VISIBILITY AttributeSetImpl : public FoldingSetNode {
> +class AttributeSetImpl : public FoldingSetNode {
>    friend class AttributeSet;
>
>    LLVMContext &Context;
>
> Modified: llvm/trunk/lib/IR/ConstantsContext.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/ConstantsContext.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/IR/ConstantsContext.h (original)
> +++ llvm/trunk/lib/IR/ConstantsContext.h Wed Sep 11 13:05:11 2013
> @@ -31,7 +31,7 @@ struct ConstantTraits;
>
>  /// UnaryConstantExpr - This class is private to Constants.cpp, and is used
>  /// behind the scenes to implement unary constant exprs.
> -class LLVM_LIBRARY_VISIBILITY UnaryConstantExpr : public ConstantExpr {
> +class UnaryConstantExpr : public ConstantExpr {
>    virtual void anchor();
>    void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION;
>  public:
> @@ -48,7 +48,7 @@ public:
>
>  /// BinaryConstantExpr - This class is private to Constants.cpp, and is used
>  /// behind the scenes to implement binary constant exprs.
> -class LLVM_LIBRARY_VISIBILITY BinaryConstantExpr : public ConstantExpr {
> +class BinaryConstantExpr : public ConstantExpr {
>    virtual void anchor();
>    void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION;
>  public:
> @@ -69,7 +69,7 @@ public:
>
>  /// SelectConstantExpr - This class is private to Constants.cpp, and is used
>  /// behind the scenes to implement select constant exprs.
> -class LLVM_LIBRARY_VISIBILITY SelectConstantExpr : public ConstantExpr {
> +class SelectConstantExpr : public ConstantExpr {
>    virtual void anchor();
>    void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION;
>  public:
> @@ -90,7 +90,7 @@ public:
>  /// ExtractElementConstantExpr - This class is private to
>  /// Constants.cpp, and is used behind the scenes to implement
>  /// extractelement constant exprs.
> -class LLVM_LIBRARY_VISIBILITY ExtractElementConstantExpr : public ConstantExpr {
> +class ExtractElementConstantExpr : public ConstantExpr {
>    virtual void anchor();
>    void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION;
>  public:
> @@ -111,7 +111,7 @@ public:
>  /// InsertElementConstantExpr - This class is private to
>  /// Constants.cpp, and is used behind the scenes to implement
>  /// insertelement constant exprs.
> -class LLVM_LIBRARY_VISIBILITY InsertElementConstantExpr : public ConstantExpr {
> +class InsertElementConstantExpr : public ConstantExpr {
>    virtual void anchor();
>    void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION;
>  public:
> @@ -133,7 +133,7 @@ public:
>  /// ShuffleVectorConstantExpr - This class is private to
>  /// Constants.cpp, and is used behind the scenes to implement
>  /// shufflevector constant exprs.
> -class LLVM_LIBRARY_VISIBILITY ShuffleVectorConstantExpr : public ConstantExpr {
> +class ShuffleVectorConstantExpr : public ConstantExpr {
>    virtual void anchor();
>    void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION;
>  public:
> @@ -158,7 +158,7 @@ public:
>  /// ExtractValueConstantExpr - This class is private to
>  /// Constants.cpp, and is used behind the scenes to implement
>  /// extractvalue constant exprs.
> -class LLVM_LIBRARY_VISIBILITY ExtractValueConstantExpr : public ConstantExpr {
> +class ExtractValueConstantExpr : public ConstantExpr {
>    virtual void anchor();
>    void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION;
>  public:
> @@ -184,7 +184,7 @@ public:
>  /// InsertValueConstantExpr - This class is private to
>  /// Constants.cpp, and is used behind the scenes to implement
>  /// insertvalue constant exprs.
> -class LLVM_LIBRARY_VISIBILITY InsertValueConstantExpr : public ConstantExpr {
> +class InsertValueConstantExpr : public ConstantExpr {
>    virtual void anchor();
>    void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION;
>  public:
> @@ -211,7 +211,7 @@ public:
>
>  /// GetElementPtrConstantExpr - This class is private to Constants.cpp, and is
>  /// used behind the scenes to implement getelementpr constant exprs.
> -class LLVM_LIBRARY_VISIBILITY GetElementPtrConstantExpr : public ConstantExpr {
> +class GetElementPtrConstantExpr : public ConstantExpr {
>    virtual void anchor();
>    GetElementPtrConstantExpr(Constant *C, ArrayRef<Constant*> IdxList,
>                              Type *DestTy);
> @@ -232,7 +232,7 @@ public:
>  // CompareConstantExpr - This class is private to Constants.cpp, and is used
>  // behind the scenes to implement ICmp and FCmp constant expressions. This is
>  // needed in order to store the predicate value for these instructions.
> -class LLVM_LIBRARY_VISIBILITY CompareConstantExpr : public ConstantExpr {
> +class CompareConstantExpr : public ConstantExpr {
>    virtual void anchor();
>    void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION;
>  public:
> @@ -313,7 +313,7 @@ struct OperandTraits<CompareConstantExpr
>  };
>  DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CompareConstantExpr, Value)
>
> -struct LLVM_LIBRARY_VISIBILITY ExprMapKeyType {
> +struct ExprMapKeyType {
>    ExprMapKeyType(unsigned opc,
>        ArrayRef<Constant*> ops,
>        unsigned short flags = 0,
> @@ -349,7 +349,7 @@ struct LLVM_LIBRARY_VISIBILITY ExprMapKe
>    }
>  };
>
> -struct LLVM_LIBRARY_VISIBILITY InlineAsmKeyType {
> +struct InlineAsmKeyType {
>    InlineAsmKeyType(StringRef AsmString,
>                     StringRef Constraints, bool hasSideEffects,
>                     bool isAlignStack, InlineAsm::AsmDialect asmDialect)
> @@ -512,7 +512,7 @@ struct ConstantKeyData<InlineAsm> {
>
>  template<class ValType, class ValRefType, class TypeClass, class ConstantClass,
>           bool HasLargeKey = false /*true for arrays and structs*/ >
> -class LLVM_LIBRARY_VISIBILITY ConstantUniqueMap {
> +class ConstantUniqueMap {
>  public:
>    typedef std::pair<TypeClass*, ValType> MapKey;
>    typedef std::map<MapKey, ConstantClass *> MapTy;
> @@ -648,7 +648,7 @@ public:
>
>  // Unique map for aggregate constants
>  template<class TypeClass, class ConstantClass>
> -class LLVM_LIBRARY_VISIBILITY ConstantAggrUniqueMap {
> +class ConstantAggrUniqueMap {
>  public:
>    typedef ArrayRef<Constant*> Operands;
>    typedef std::pair<TypeClass*, Operands> LookupKey;
>
> Modified: llvm/trunk/lib/IR/LLVMContextImpl.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/LLVMContextImpl.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/IR/LLVMContextImpl.h (original)
> +++ llvm/trunk/lib/IR/LLVMContextImpl.h Wed Sep 11 13:05:11 2013
> @@ -41,7 +41,7 @@ class LLVMContext;
>  class Type;
>  class Value;
>
> -struct LLVM_LIBRARY_VISIBILITY DenseMapAPIntKeyInfo {
> +struct DenseMapAPIntKeyInfo {
>    struct KeyTy {
>      APInt val;
>      Type* type;
> @@ -66,7 +66,7 @@ struct LLVM_LIBRARY_VISIBILITY DenseMapA
>    }
>  };
>
> -struct LLVM_LIBRARY_VISIBILITY DenseMapAPFloatKeyInfo {
> +struct DenseMapAPFloatKeyInfo {
>    struct KeyTy {
>      APFloat val;
>      KeyTy(const APFloat& V) : val(V){}
> @@ -94,7 +94,7 @@ struct LLVM_LIBRARY_VISIBILITY DenseMapA
>    }
>  };
>
> -struct LLVM_LIBRARY_VISIBILITY AnonStructTypeKeyInfo {
> +struct AnonStructTypeKeyInfo {
>    struct KeyTy {
>      ArrayRef<Type*> ETypes;
>      bool isPacked;
> @@ -138,7 +138,7 @@ struct LLVM_LIBRARY_VISIBILITY AnonStruc
>    }
>  };
>
> -struct LLVM_LIBRARY_VISIBILITY FunctionTypeKeyInfo {
> +struct FunctionTypeKeyInfo {
>    struct KeyTy {
>      const Type *ReturnType;
>      ArrayRef<Type*> Params;
> @@ -209,7 +209,7 @@ template<> struct FoldingSetTrait<MDNode
>
>  /// DebugRecVH - This is a CallbackVH used to keep the Scope -> index maps
>  /// up to date as MDNodes mutate.  This class is implemented in DebugLoc.cpp.
> -class LLVM_LIBRARY_VISIBILITY DebugRecVH : public CallbackVH {
> +class DebugRecVH : public CallbackVH {
>    /// Ctx - This is the LLVM Context being referenced.
>    LLVMContextImpl *Ctx;
>
> @@ -230,7 +230,7 @@ public:
>    virtual void allUsesReplacedWith(Value *VNew);
>  };
>
> -class LLVM_LIBRARY_VISIBILITY LLVMContextImpl {
> +class LLVMContextImpl {
>  public:
>    /// OwnedModules - The set of modules instantiated in this context, and which
>    /// will be automatically deleted if this context is deleted.
>
> Modified: llvm/trunk/lib/IR/LeaksContext.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/LeaksContext.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/IR/LeaksContext.h (original)
> +++ llvm/trunk/lib/IR/LeaksContext.h Wed Sep 11 13:05:11 2013
> @@ -28,7 +28,7 @@ struct PrinterTrait<Value> {
>  };
>
>  template <typename T>
> -struct LLVM_LIBRARY_VISIBILITY LeakDetectorImpl {
> +struct LeakDetectorImpl {
>    explicit LeakDetectorImpl(const char* const name = "") :
>      Cache(0), Name(name) { }
>
>
> Modified: llvm/trunk/lib/Transforms/Instrumentation/DebugIR.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/DebugIR.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Transforms/Instrumentation/DebugIR.h (original)
> +++ llvm/trunk/lib/Transforms/Instrumentation/DebugIR.h Wed Sep 11 13:05:11 2013
> @@ -21,7 +21,7 @@
>
>  namespace llvm {
>
> -class LLVM_LIBRARY_VISIBILITY DebugIR : public llvm::ModulePass {
> +class DebugIR : public llvm::ModulePass {
>    /// If true, write a source file to disk.
>    bool WriteSourceToDisk;
>
>
> Modified: llvm/trunk/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h (original)
> +++ llvm/trunk/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h Wed Sep 11 13:05:11 2013
> @@ -29,7 +29,7 @@ namespace objcarc {
>
>  /// Declarations for ObjC runtime functions and constants. These are initialized
>  /// lazily to avoid cluttering up the Module with unused declarations.
> -class LLVM_LIBRARY_VISIBILITY ARCRuntimeEntryPoints {
> +class ARCRuntimeEntryPoints {
>  public:
>    enum EntryPointType {
>      EPT_AutoreleaseRV,
>
> Modified: llvm/trunk/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.h (original)
> +++ llvm/trunk/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.h Wed Sep 11 13:05:11 2013
> @@ -35,8 +35,8 @@ namespace objcarc {
>    /// TODO: This class could be generalized to know about other ObjC-specific
>    /// tricks. Such as knowing that ivars in the non-fragile ABI are non-aliasing
>    /// even though their offsets are dynamic.
> -  class LLVM_LIBRARY_VISIBILITY ObjCARCAliasAnalysis : public ImmutablePass,
> -                                                       public AliasAnalysis {
> +  class ObjCARCAliasAnalysis : public ImmutablePass,
> +                               public AliasAnalysis {
>    public:
>      static char ID; // Class identification, replacement for typeinfo
>      ObjCARCAliasAnalysis() : ImmutablePass(ID) {
>
> Modified: llvm/trunk/lib/Transforms/ObjCARC/ProvenanceAnalysis.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/ObjCARC/ProvenanceAnalysis.h?rev=190536&r1=190535&r2=190536&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Transforms/ObjCARC/ProvenanceAnalysis.h (original)
> +++ llvm/trunk/lib/Transforms/ObjCARC/ProvenanceAnalysis.h Wed Sep 11 13:05:11 2013
> @@ -46,7 +46,7 @@ namespace objcarc {
>  /// an ``independent provenance source'' of a pointer to determine whether or
>  /// not two pointers have the same provenance source and thus could
>  /// potentially be related.
> -class LLVM_LIBRARY_VISIBILITY ProvenanceAnalysis {
> +class ProvenanceAnalysis {
>    AliasAnalysis *AA;
>
>    typedef std::pair<const Value *, const Value *> ValuePairTy;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list