diff options
author | Kazu Hirata <kazu@google.com> | 2023-04-10 10:11:41 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2023-04-10 10:11:41 -0700 |
commit | d5a50b02e614d97c054c5c1e67922abc911fa5b6 (patch) | |
tree | 6a9c239c68b6fef0c247f9a34771050b02b278a3 /lld/wasm | |
parent | d374d474698001784d0bc0fce4ddfd08fe7d3545 (diff) | |
download | llvm-d5a50b02e614d97c054c5c1e67922abc911fa5b6.tar.gz |
Fix warnings
This patch fixes:
mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp:1334:51:
warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
lld/wasm/Writer.cpp:250:39: warning: suggest parentheses around ‘&&’
within ‘||’ [-Wparentheses]
Diffstat (limited to 'lld/wasm')
-rw-r--r-- | lld/wasm/Writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/wasm/Writer.cpp b/lld/wasm/Writer.cpp index d9e87276b31b..2ec8848b26d1 100644 --- a/lld/wasm/Writer.cpp +++ b/lld/wasm/Writer.cpp @@ -247,7 +247,7 @@ computeHash(llvm::MutableArrayRef<uint8_t> hashBuf, static void makeUUID(unsigned version, llvm::ArrayRef<uint8_t> fileHash, llvm::MutableArrayRef<uint8_t> output) { - assert(version == 4 || version == 5 && "Unknown UUID version"); + assert((version == 4 || version == 5) && "Unknown UUID version"); assert(output.size() == 16 && "Wrong size for UUID output"); if (version == 5) { // Build a valid v5 UUID from a hardcoded (randomly-generated) namespace |