[clang] [NFC][clang] Quote literal builtin attribute markers in Builtins.def docs (PR #160080)
Radovan Božić via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 22 07:32:19 PDT 2025
bozicrHT wrote:
> > > But I'm not sure what we could use reasonably.
> >
> >
> > We could replace it w/ e.g. `*` and add a note along the lines of ‘where `*` is any integer/index/whatever it’s actually supposed to be’
>
> Asterisk seems pretty overloaded here... maybe the same except with `{num}` or something like that?
What about using two letters, e.g., `"nn"`, to mark `nonnull`?
https://github.com/llvm/llvm-project/pull/160080
More information about the cfe-commits
mailing list