[PATCH] D66397: [Diagnostics] Improve -Wxor-used-as-pow
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 21 10:15:31 PDT 2019
aaron.ballman added a comment.
In D66397#1639590 <https://reviews.llvm.org/D66397#1639590>, @xbolva00 wrote:
> But it seems everything is autogenerated and nothing is “custom message”. Any custom change is removed by next autogeneration.
>
> Possibly @hans could tell us if there is a way
The part I saw that looked interesting to me was: https://github.com/llvm-mirror/clang/blob/master/utils/TableGen/ClangDiagnosticsEmitter.cpp#L1786 but I see now that's only for diagnostic groups. You may need to extend this functionality to get the behavior we want, but that can always be done in a follow-up patch which also adds the documentation to the diagnostic flag.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66397/new/
https://reviews.llvm.org/D66397
More information about the cfe-commits
mailing list