[JITLink] Silence GCC warnings about parentheses around && and || operators
This silences the following warnings:
../include/llvm/ExecutionEngine/JITLink/JITLink.h:1108:56: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
1105 | assert(S == Scope::Local || llvm::count_if(AbsoluteSymbols,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1106 | [&](const Symbol *Sym) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
1107 | return Sym->getName() == Name;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1108 | }) == 0 &&
| ~~~~~~~~^~
1109 | "Duplicate absolute symbol");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
parent
15bf2aa4
Please register or sign in to comment