1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Reformat, 80-col, tab characters, etc.

llvm-svn: 207444
This commit is contained in:
Eric Christopher 2014-04-28 20:42:22 +00:00
parent e15490943b
commit a5d10a654c

View File

@ -118,7 +118,6 @@ bool DbgVariable::isBlockByrefVariable() const {
return Var.isBlockByrefVariable(DD->getTypeIdentifierMap());
}
DIType DbgVariable::getType() const {
DIType Ty = Var.getType().resolve(DD->getTypeIdentifierMap());
// FIXME: isBlockByrefVariable should be reformulated in terms of complex
@ -210,8 +209,7 @@ DwarfDebug::DwarfDebug(AsmPrinter *A, Module *M)
else
HasDwarfPubSections = DwarfPubSections == Enable;
DwarfVersion = DwarfVersionNumber
? DwarfVersionNumber
DwarfVersion = DwarfVersionNumber ? DwarfVersionNumber
: MMI->getModule()->getDwarfVersion();
{
@ -546,7 +544,8 @@ DIE *DwarfDebug::createScopeChildrenDIE(
return ObjectPointer;
}
DIE *DwarfDebug::constructSubprogramScopeDIE(DwarfCompileUnit &TheCU, LexicalScope *Scope) {
DIE *DwarfDebug::constructSubprogramScopeDIE(DwarfCompileUnit &TheCU,
LexicalScope *Scope) {
assert(Scope && Scope->getScopeNode());
DIScope DS(Scope->getScopeNode());
@ -620,8 +619,7 @@ std::unique_ptr<DIE> DwarfDebug::constructScopeDIE(DwarfCompileUnit &TheCU,
// There is no need to emit empty lexical block DIE.
std::pair<ImportedEntityMap::const_iterator,
ImportedEntityMap::const_iterator> Range =
std::equal_range(
ScopesWithImportedEntities.begin(),
std::equal_range(ScopesWithImportedEntities.begin(),
ScopesWithImportedEntities.end(),
std::pair<const MDNode *, const MDNode *>(DS, nullptr),
less_first());
@ -2536,7 +2534,8 @@ void DwarfDebug::addDwarfTypeUnitType(DwarfCompileUnit &CU,
this, &InfoHolder, getDwoLineTable(CU));
DwarfTypeUnit &NewTU = *OwnedUnit;
TU = &NewTU;
TypeUnitsUnderConstruction.push_back(std::make_pair(std::move(OwnedUnit), CTy));
TypeUnitsUnderConstruction.push_back(
std::make_pair(std::move(OwnedUnit), CTy));
NewTU.addUInt(*UnitDie, dwarf::DW_AT_language, dwarf::DW_FORM_data2,
CU.getLanguage());