[libc-commits] [libc] [libc] Prefix sanitizer macros with LIBC_ (PR #205002)

Jeff Bailey via libc-commits libc-commits at lists.llvm.org
Mon Jun 22 06:23:50 PDT 2026


kaladron wrote:

If these are being leaked into user headers, we should use a reserved identifier:

7.1.3 "All identifiers that begin with an underscore and either an uppercase letter or another underscore are always reserved for any use, except those identifiers which are lexically identical to
keywords"

I haven't looked at how these leak in, but I suspect we should prefix them with a double underscore.  WDYT?

https://github.com/llvm/llvm-project/pull/205002


More information about the libc-commits mailing list