mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-02 23:26:31 +00:00
Simplify expressions involving boolean constants with clang-tidy
Patch by Richard (legalize at xmission dot com). Differential Revision: http://reviews.llvm.org/D8154 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user