diff options
author | Eric Christopher <echristo@gmail.com> | 2013-09-23 22:59:11 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-09-23 22:59:11 +0000 |
commit | 734334e349f8a803e7dbcd969ab6e6bbf540e1bc (patch) | |
tree | af968302e153605d89b4581c8c44885c777f9c49 /lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | |
parent | 438f5391b2d502a132a4a20469e9e56305b221a4 (diff) | |
download | external_llvm-734334e349f8a803e7dbcd969ab6e6bbf540e1bc.zip external_llvm-734334e349f8a803e7dbcd969ab6e6bbf540e1bc.tar.gz external_llvm-734334e349f8a803e7dbcd969ab6e6bbf540e1bc.tar.bz2 |
Formatting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191235 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp index 39f61e1..171c138 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp @@ -849,19 +849,19 @@ void CompileUnit::addType(DIE *Entity, DIType Ty, uint16_t Attribute) { // 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(StringRef Name, DIE *Die) { /// 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(); } |