From: Eric Christopher Date: Fri, 4 Oct 2013 23:49:29 +0000 (+0000) Subject: Reformat some odd formattings. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c543a8849eb41b29b42bcd2986b1f7b4ef4ff082;p=oota-llvm.git Reformat some odd formattings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192003 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index f26fba99ed8..7928d3f0da7 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -66,18 +66,18 @@ class CompileUnit { /// GlobalNames - A map of globally visible named entities for this unit. /// - StringMap GlobalNames; + StringMap GlobalNames; /// GlobalTypes - A map of globally visible types for this unit. /// - StringMap GlobalTypes; + StringMap GlobalTypes; /// AccelNames - A map of names for the name accelerator table. /// - StringMap > AccelNames; - StringMap > AccelObjC; - StringMap > AccelNamespace; - StringMap > > AccelTypes; + StringMap > AccelNames; + StringMap > AccelObjC; + StringMap > AccelNamespace; + StringMap > > AccelTypes; /// DIEBlocks - A list of all the DIEBlocks in use. std::vector DIEBlocks; @@ -146,9 +146,7 @@ public: /// specified debug variable. DIE *getDIE(const MDNode *N) const { return MDNodeToDieMap.lookup(N); } - DIEBlock *getDIEBlock() { - return new (DIEValueAllocator) DIEBlock(); - } + DIEBlock *getDIEBlock() { return new (DIEValueAllocator) DIEBlock(); } /// insertDIE - Insert DIE into the map. void insertDIE(const MDNode *N, DIE *D) { @@ -168,20 +166,14 @@ public: /// addDie - Adds or interns the DIE to the compile unit. /// - void addDie(DIE *Buffer) { - this->CUDie->addChild(Buffer); - } + void addDie(DIE *Buffer) { this->CUDie->addChild(Buffer); } // getIndexTyDie - Get an anonymous type for index type. - DIE *getIndexTyDie() { - return IndexTyDie; - } + DIE *getIndexTyDie() { return IndexTyDie; } // setIndexTyDie - Set D as anonymous type for index which can be reused // later. - void setIndexTyDie(DIE *D) { - IndexTyDie = D; - } + void setIndexTyDie(DIE *D) { IndexTyDie = D; } /// addFlag - Add a flag that is true to the DIE. void addFlag(DIE *Die, uint16_t Attribute); @@ -204,8 +196,7 @@ public: /// addExpr - Add a Dwarf expression attribute data and value. /// - void addExpr(DIE *Die, uint16_t Attribute, uint16_t Form, - const MCExpr *Expr); + void addExpr(DIE *Die, uint16_t Attribute, uint16_t Form, const MCExpr *Expr); /// addLabel - Add a Dwarf label attribute data and value. /// @@ -225,8 +216,8 @@ public: /// addDelta - Add a label delta attribute data and value. /// - void addDelta(DIE *Die, uint16_t Attribute, uint16_t Form, - const MCSymbol *Hi, const MCSymbol *Lo); + void addDelta(DIE *Die, uint16_t Attribute, uint16_t Form, const MCSymbol *Hi, + const MCSymbol *Lo); /// addDIEEntry - Add a DIE attribute data and value. /// @@ -247,8 +238,8 @@ public: /// addAddress - Add an address attribute to a die based on the location /// provided. - void addAddress(DIE *Die, uint16_t Attribute, - const MachineLocation &Location, bool Indirect = false); + void addAddress(DIE *Die, uint16_t Attribute, const MachineLocation &Location, + bool Indirect = false); /// addConstantValue - Add constant value entry in variable DIE. void addConstantValue(DIE *Die, const MachineOperand &MO, DIType Ty); @@ -327,23 +318,19 @@ public: void addPubTypes(DISubprogram SP); /// constructTypeDIE - Construct basic type die from DIBasicType. - void constructTypeDIE(DIE &Buffer, - DIBasicType BTy); + void constructTypeDIE(DIE &Buffer, DIBasicType BTy); /// constructTypeDIE - Construct derived type die from DIDerivedType. - void constructTypeDIE(DIE &Buffer, - DIDerivedType DTy); + void constructTypeDIE(DIE &Buffer, DIDerivedType DTy); /// constructTypeDIE - Construct type DIE from DICompositeType. - void constructTypeDIE(DIE &Buffer, - DICompositeType CTy); + void constructTypeDIE(DIE &Buffer, DICompositeType CTy); /// constructSubrangeDIE - Construct subrange DIE from DISubrange. void constructSubrangeDIE(DIE &Buffer, DISubrange SR, DIE *IndexTy); /// constructArrayTypeDIE - Construct array type DIE from DICompositeType. - void constructArrayTypeDIE(DIE &Buffer, - DICompositeType *CTy); + void constructArrayTypeDIE(DIE &Buffer, DICompositeType *CTy); /// constructEnumTypeDIE - Construct enum type DIE from DIEnumerator. DIE *constructEnumTypeDIE(DIEnumerator ETy);