[llvm] r191235 - Formatting.
Eric Christopher
echristo at gmail.com
Mon Sep 23 15:59:11 PDT 2013
Author: echristo
Date: Mon Sep 23 17:59:11 2013
New Revision: 191235
URL: http://llvm.org/viewvc/llvm-project?rev=191235&view=rev
Log:
Formatting.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp?rev=191235&r1=191234&r2=191235&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp Mon Sep 23 17:59:11 2013
@@ -849,19 +849,19 @@ void CompileUnit::addType(DIE *Entity, D
// add may not only be identical to the names in the DIE.
void CompileUnit::addAccelName(StringRef Name, DIE *Die) {
DU->getStringPoolEntry(Name);
- std::vector<DIE*> &DIEs = AccelNames[Name];
+ std::vector<DIE *> &DIEs = AccelNames[Name];
DIEs.push_back(Die);
}
void CompileUnit::addAccelObjC(StringRef Name, DIE *Die) {
DU->getStringPoolEntry(Name);
- std::vector<DIE*> &DIEs = AccelObjC[Name];
+ std::vector<DIE *> &DIEs = AccelObjC[Name];
DIEs.push_back(Die);
}
void CompileUnit::addAccelNamespace(StringRef Name, DIE *Die) {
DU->getStringPoolEntry(Name);
- std::vector<DIE*> &DIEs = AccelNamespace[Name];
+ std::vector<DIE *> &DIEs = AccelNamespace[Name];
DIEs.push_back(Die);
}
@@ -880,9 +880,9 @@ void CompileUnit::addGlobalName(StringRe
///
void CompileUnit::addGlobalType(DIType Ty) {
DIDescriptor Context = DD->resolve(Ty.getContext());
- if (Ty.isCompositeType() && !Ty.getName().empty() && !Ty.isForwardDecl()
- && (!Context || Context.isCompileUnit() || Context.isFile()
- || Context.isNameSpace()))
+ if (Ty.isCompositeType() && !Ty.getName().empty() && !Ty.isForwardDecl() &&
+ (!Context || Context.isCompileUnit() || Context.isFile() ||
+ Context.isNameSpace()))
if (DIEEntry *Entry = getDIEEntry(Ty))
GlobalTypes[Ty.getName()] = Entry->getEntry();
}
More information about the llvm-commits
mailing list