summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-03-09 01:57:13 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-03-09 01:57:13 +0000
commitdc3f01e9cfc098bb2a55b103396eb3f0464b0c7a (patch)
tree41e53ef86195787acb15962965c7475b8804771f /llvm/lib/ExecutionEngine
parent2a08dca3f719f207ead372bc0b635c757efd41c6 (diff)
downloadbcm5719-llvm-dc3f01e9cfc098bb2a55b103396eb3f0464b0c7a.tar.gz
bcm5719-llvm-dc3f01e9cfc098bb2a55b103396eb3f0464b0c7a.zip
Simplify expressions involving boolean constants with clang-tidy
Patch by Richard (legalize at xmission dot com). Differential Revision: http://reviews.llvm.org/D8154 llvm-svn: 231617
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
index 0f3ca0f2f39..6278170cd88 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
@@ -1128,7 +1128,7 @@ relocation_iterator RuntimeDyldELF::processRelocationRef(
RangeOverflow = true;
}
}
- if (SymType == SymbolRef::ST_Unknown || RangeOverflow == true) {
+ if (SymType == SymbolRef::ST_Unknown || RangeOverflow) {
// It is an external symbol (SymbolRef::ST_Unknown) or within a range
// larger than 24-bits.
StubMap::const_iterator i = Stubs.find(Value);
OpenPOWER on IntegriCloud