summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-08-07 08:35:10 +0000
committerEric Christopher <echristo@gmail.com>2013-08-07 08:35:10 +0000
commitf76e118cf879a90145aebbdc39fdd7feb9bf3e51 (patch)
treee8bb922795431e5ae4c48b69d4b7717b544908c0 /lib
parentb19982c42b119ffc269e4913cbf9b047629fb72f (diff)
downloadllvm-f76e118cf879a90145aebbdc39fdd7feb9bf3e51.tar.gz
llvm-f76e118cf879a90145aebbdc39fdd7feb9bf3e51.tar.bz2
llvm-f76e118cf879a90145aebbdc39fdd7feb9bf3e51.tar.xz
Remove some parens. No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187872 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 9a09bc1b64..979c0c3466 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1087,10 +1087,10 @@ static bool isContainedInAnonNamespace(DIE *Die) {
/// 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.