[PATCH] D118297: [clang] add Diag -Wasm-volatile for implied volatile asm stmts
Nick Desaulniers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 26 16:57:58 PST 2022
nickdesaulniers added inline comments.
================
Comment at: clang/lib/Parse/ParseStmtAsm.cpp:788
+ else if (NumOutputs == 0)
+ Diag(Loc, diag::warn_asm_volatile);
+ }
----------------
`Loc` is not correct if `volatile` is not the first asm-qualifier.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118297/new/
https://reviews.llvm.org/D118297
More information about the cfe-commits
mailing list