cor3ntin added inline comments.
================
Comment at: clang/lib/Frontend/InitPreprocessor.cpp:456
+ // FIXME: Use correct value for C++26.
+ Builder.defineMacro("__cplusplus", "202102L");
+ // FIXME: Use correct value for C++23, and update C++26 to be 'one more'.
----------------
cor3ntin wrote:
> erichkeane wrote:
> > At the moment, I just chose '1 more than c++23', but that hasn't been set
> > yet. Once we have the final value, we should make this 1 more than 23's
> > official value.
> A value lesser than 202401L seems super confusing to me
In the DIS __cplusplus is 202302L
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150450/new/
https://reviews.llvm.org/D150450
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits