[PATCH] D68447: [JITLink] Silence GCC warnings. NFC.
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 4 12:47:13 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL373779: [JITLink] Silence GCC warnings. NFC. (authored by mstorsjo, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D68447?vs=223171&id=223265#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68447/new/
https://reviews.llvm.org/D68447
Files:
llvm/trunk/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
Index: llvm/trunk/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
===================================================================
--- llvm/trunk/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
+++ llvm/trunk/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
@@ -107,7 +107,7 @@
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:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68447.223265.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191004/8a794c6f/attachment.bin>
More information about the llvm-commits
mailing list