[clang] [llvm] Expose format (attribute) info for function declarations in Clang Index API (PR #113754)

AR Visions via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 8 01:33:06 PST 2024


ar-visions wrote:

I should note that this patch is useful for providing security context to parsers that use formatting.  Users that rely on Clang to provide info on the C functions REQUIRE this security validation context.  A parser that does no processing on this but relies on user hard coding of formatter-enabled functions from C will simply have more boilerplate and more security issues in general.

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


More information about the cfe-commits mailing list