[clang] Extension: allow recursive macros (PR #65851)

via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 9 08:39:18 PDT 2023


cor3ntin wrote:

Compiler extensions are best proposed through a RFC, ie a discourse post here:

https://discourse.llvm.org/c/clang/6

Explaining the motivation for the feature, which the pr description already does a good job.

There are questions about the name, theorically this is an identifier that c and c++ committees may want to use in the future.

You should also consider whether this needs extensions flags and extension warnings.

Is this something you plan to propose to other compilers? Standardization?

It does sound like an interesting feature though, and the implementation appear reasonable.


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


More information about the cfe-commits mailing list