[clang-tools-extra] [clang-tidy] New checker: modernize-use-va-opt to replace the `, ##__VAR_ARG__` GNU extension (PR #188474)

via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 25 05:32:18 PDT 2026


serge-sans-paille wrote:

I have a strange behavior for the FixIt that adds `__VA_OPT__(,)` : I need to quote (!) the comma in code for the FixIt to correctly apply (i.e. without the quote), but then it displays with the quote (in the console).
I assume that's a bug from clang's libedit or something?

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


More information about the cfe-commits mailing list