summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2019-10-04 19:47:42 +0000
committerMartin Storsjo <martin@martin.st>2019-10-04 19:47:42 +0000
commit5b2e0ba28e042e33fe5b1f7be5e86cd796393001 (patch)
tree46559ff49e5b98db0978c31d8eb49825e2257fdc /llvm/lib/ExecutionEngine
parente973fc005638a6b6630e7c5baa255acd53c8ec8a (diff)
downloadbcm5719-llvm-5b2e0ba28e042e33fe5b1f7be5e86cd796393001.tar.gz
bcm5719-llvm-5b2e0ba28e042e33fe5b1f7be5e86cd796393001.zip
[JITLink] Silence GCC warnings. NFC.
Use parentheses in an expression with mixed && and ||. Differential Revision: https://reviews.llvm.org/D68447 llvm-svn: 373779
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h b/llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
index cba26e9494b..e1123cd1104 100644
--- a/llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
+++ b/llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
@@ -107,7 +107,7 @@ protected:
uint8_t Sect, uint16_t Desc, Linkage L, Scope S)
: Name(Name), Value(Value), Type(Type), Sect(Sect), Desc(Desc), L(L),
S(S) {
- assert(!Name || !Name->empty() && "Name must be none or non-empty");
+ assert((!Name || !Name->empty()) && "Name must be none or non-empty");
}
public:
OpenPOWER on IntegriCloud