RIscRIpt wrote:

Discussion initiated by @AaronBallman of one of important design decisions, 
which was forgotten (?):

> @AaronBallman:
> It's a good question as to whether we want to support that only when passing 
> `-fms-extensions` or not (it seems like a generally useful attribute); we 
> don't do the same for GNU attributes, but maybe we don't want to follow that 
> pattern? This will be the first attribute we add with the `msvc` vendor 
> namespace.

> @RIscRIpt:
> IMO, this attribute is a clearly Microsoft's extension, thus it should be 
> available only when `-fms-extensions` are enabled.

Note: in the current implementation I enable `[[msvc::constexpr]]` only under 
`-fms-compatibility -fms-compatibility-version=19.33`, (MSVC 19.33), where this 
attribute has first appeared.

https://github.com/llvm/llvm-project/pull/71300
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to