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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits