[llvm] r187872 - Remove some parens. No functional change.

Eric Christopher echristo at gmail.com
Wed Aug 7 01:35:10 PDT 2013


Author: echristo
Date: Wed Aug  7 03:35:10 2013
New Revision: 187872

URL: http://llvm.org/viewvc/llvm-project?rev=187872&view=rev
Log:
Remove some parens. No functional change.

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

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=187872&r1=187871&r2=187872&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Wed Aug  7 03:35:10 2013
@@ -1087,10 +1087,10 @@ static bool isContainedInAnonNamespace(D
 /// Test if the current CU language is C++ and that we have
 /// a named type that is not contained in an anonymous namespace.
 static bool shouldAddODRHash(CompileUnit *CU, DIE *Die) {
-  return (CU->getLanguage() == dwarf::DW_LANG_C_plus_plus &&
-          getDIEStringAttr(Die, dwarf::DW_AT_name) != "" &&
-          !isContainedInAnonNamespace(Die));
-}
+  return CU->getLanguage() == dwarf::DW_LANG_C_plus_plus &&
+         getDIEStringAttr(Die, dwarf::DW_AT_name) != "" &&
+         !isContainedInAnonNamespace(Die);
+ }
 
 void DwarfDebug::finalizeModuleInfo() {
   // Collect info for variables that were optimized out.





More information about the llvm-commits mailing list