summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commit341770d7eadb9113b51041fad77ce578247cc4eb (patch)
tree557bd5b00d579fcae309e0307f2aeb0d141b1a3b /llvm/lib/CodeGen
parent2de683380916e0da1ad27359403d737e20f49383 (diff)
downloadbcm5719-llvm-341770d7eadb9113b51041fad77ce578247cc4eb.tar.gz
bcm5719-llvm-341770d7eadb9113b51041fad77ce578247cc4eb.zip
Remove some parens. No functional change.
llvm-svn: 187872
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 9a09bc1b644..979c0c3466c 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud