[PATCH] D106030: [Clang] add support for error+warning fn attrs
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 23 11:06:03 PDT 2021
nickdesaulniers added a comment.
In D106030#3018754 <https://reviews.llvm.org/D106030#3018754>, @aeubanks wrote:
> Would it be ok to split this into two attributes, dontcall-warn and dontcall-error? So we rely less on the Clang AST when determining if a dontcall call should be emitted as a warning or an error.
Doesn't matter to me; go for it. `BackendConsumer::DontCallDiagHandler` is what looks at the AST.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106030/new/
https://reviews.llvm.org/D106030
More information about the llvm-commits
mailing list