summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-04-28 20:26:30 +0000
committerZachary Turner <zturner@google.com>2016-04-28 20:26:30 +0000
commit897067e3f1d86e4a8e0bce4b6c73a7392c39163e (patch)
tree8cd956c88e6114a8aec22901c1a4613c6303b5c7 /llvm/lib/DebugInfo/PDB
parentfabdbe4732e55f8693a90a4a867e4e7b26f2a489 (diff)
downloadbcm5719-llvm-897067e3f1d86e4a8e0bce4b6c73a7392c39163e.tar.gz
bcm5719-llvm-897067e3f1d86e4a8e0bce4b6c73a7392c39163e.zip
Add parentheses to silence -Wparentheses warnings.
llvm-svn: 267934
Diffstat (limited to 'llvm/lib/DebugInfo/PDB')
-rw-r--r--llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp b/llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp
index c6f16d30b31..38f92178a87 100644
--- a/llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp
+++ b/llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp
@@ -125,18 +125,18 @@ std::error_code PDBDbiStream::reload() {
for (auto Info : Range)
ModuleInfos.push_back(ModuleInfoEx(Info));
- if (EC = readSubstream(SecContrSubstream, Header->SecContrSubstreamSize))
+ if ((EC = readSubstream(SecContrSubstream, Header->SecContrSubstreamSize)))
return EC;
- if (EC = readSubstream(SecMapSubstream, Header->SectionMapSize))
+ if ((EC = readSubstream(SecMapSubstream, Header->SectionMapSize)))
return EC;
- if (EC = readSubstream(FileInfoSubstream, Header->FileInfoSize))
+ if ((EC = readSubstream(FileInfoSubstream, Header->FileInfoSize)))
return EC;
- if (EC = readSubstream(TypeServerMapSubstream, Header->TypeServerSize))
+ if ((EC = readSubstream(TypeServerMapSubstream, Header->TypeServerSize)))
return EC;
- if (EC = readSubstream(ECSubstream, Header->ECSubstreamSize))
+ if ((EC = readSubstream(ECSubstream, Header->ECSubstreamSize)))
return EC;
- if (EC = initializeFileInfo())
+ if ((EC = initializeFileInfo()))
return EC;
return std::error_code();
OpenPOWER on IntegriCloud