[PATCH] D104342: [IR] convert warn-stack-size from module flag to fn attr
David Blaikie via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 23 09:03:07 PDT 2021
dblaikie added a comment.
In D104342#2836222 <https://reviews.llvm.org/D104342#2836222>, @aaron.ballman wrote:
> In D104342#2834240 <https://reviews.llvm.org/D104342#2834240>, @dblaikie wrote:
>
>> In D104342#2834119 <https://reviews.llvm.org/D104342#2834119>, @nickdesaulniers wrote:
>>
>>> I would think https://clang.llvm.org/docs/DiagnosticsReference.html#wframe-larger-than would be an appropriate place to document this for `-Wframe-larger-than=`, but it seems this whole page is generated via TableGen. It's not clear to me how we could insert such a note.
>>
>> Yeah, I don't think we have a way to add more verbose/custom documentation for diagnostics. (@aaron.ballman might have some ideas)
>
> I'm not aware of any way to do that today -- it would require more machinery for generating the diagnostic documentation, which is made harder by this particular diagnostic being a backend one that's not written out from tablegen.
Fair enough - thanks for the context!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104342/new/
https://reviews.llvm.org/D104342
More information about the cfe-commits
mailing list