[llvm] r201265 - Reformat a few lines with clang-format.

Eric Christopher echristo at gmail.com
Wed Feb 12 14:47:09 PST 2014


Author: echristo
Date: Wed Feb 12 16:47:09 2014
New Revision: 201265

URL: http://llvm.org/viewvc/llvm-project?rev=201265&view=rev
Log:
Reformat a few lines with clang-format.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp?rev=201265&r1=201264&r2=201265&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp Wed Feb 12 16:47:09 2014
@@ -1009,21 +1009,24 @@ void DwarfUnit::addType(DIE *Entity, DIT
 // to reference is in the string table. We do this since the names we
 // add may not only be identical to the names in the DIE.
 void DwarfUnit::addAccelName(StringRef Name, const DIE *Die) {
-  if (!DD->useDwarfAccelTables()) return;
+  if (!DD->useDwarfAccelTables())
+    return;
   DU->getStringPoolEntry(Name);
   std::vector<const DIE *> &DIEs = AccelNames[Name];
   DIEs.push_back(Die);
 }
 
 void DwarfUnit::addAccelObjC(StringRef Name, const DIE *Die) {
-  if (!DD->useDwarfAccelTables()) return;
+  if (!DD->useDwarfAccelTables())
+    return;
   DU->getStringPoolEntry(Name);
   std::vector<const DIE *> &DIEs = AccelObjC[Name];
   DIEs.push_back(Die);
 }
 
 void DwarfUnit::addAccelNamespace(StringRef Name, const DIE *Die) {
-  if (!DD->useDwarfAccelTables()) return;
+  if (!DD->useDwarfAccelTables())
+    return;
   DU->getStringPoolEntry(Name);
   std::vector<const DIE *> &DIEs = AccelNamespace[Name];
   DIEs.push_back(Die);
@@ -1031,7 +1034,8 @@ void DwarfUnit::addAccelNamespace(String
 
 void DwarfUnit::addAccelType(StringRef Name,
                              std::pair<const DIE *, unsigned> Die) {
-  if (!DD->useDwarfAccelTables()) return;
+  if (!DD->useDwarfAccelTables())
+    return;
   DU->getStringPoolEntry(Name);
   std::vector<std::pair<const DIE *, unsigned> > &DIEs = AccelTypes[Name];
   DIEs.push_back(Die);





More information about the llvm-commits mailing list