diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-02-12 00:32:05 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-02-12 00:32:05 +0000 |
commit | d696fac175604db5f0f1ed68c1ef9bb1681cedd8 (patch) | |
tree | e4b26f09b0f61e6ae334b5b18a8324b6fe6f22e0 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | |
parent | 15632ae11a169527bda6c286db8ce4137f93fdb7 (diff) | |
download | bcm5719-llvm-d696fac175604db5f0f1ed68c1ef9bb1681cedd8.tar.gz bcm5719-llvm-d696fac175604db5f0f1ed68c1ef9bb1681cedd8.zip |
Fix some formatting in my last commit (r201196)
llvm-svn: 201197
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h index dccfd41616d..60e86c5d828 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h @@ -464,6 +464,7 @@ public: const MCSymbol *ASectionSym) const; virtual DwarfCompileUnit &getCU() = 0; + protected: /// getOrCreateStaticMemberDIE - Create new static data member DIE. DIE *getOrCreateStaticMemberDIE(DIDerivedType DT); @@ -550,9 +551,7 @@ public: /// either DW_FORM_addr or DW_FORM_GNU_addr_index. void addLabelAddress(DIE *Die, dwarf::Attribute Attribute, MCSymbol *Label); - DwarfCompileUnit &getCU() LLVM_OVERRIDE { - return *this; - } + DwarfCompileUnit &getCU() LLVM_OVERRIDE { return *this; } }; class DwarfTypeUnit : public DwarfUnit { @@ -578,9 +577,7 @@ public: sizeof(uint32_t); // Type DIE Offset } void initSection(const MCSection *Section); - DwarfCompileUnit &getCU() LLVM_OVERRIDE { - return CU; - } + DwarfCompileUnit &getCU() LLVM_OVERRIDE { return CU; } }; } // end llvm namespace #endif |