[PATCH] D150450: Add C++26 compile flags.

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat May 13 01:07:11 PDT 2023


xbolva00 added inline comments.


================
Comment at: clang/lib/Frontend/InitPreprocessor.cpp:458
+    else if (LangOpts.CPlusPlus23)
+      Builder.defineMacro("__cplusplus", "202302L");
     //      [C++20] The integer literal 202002L.
----------------
Separate patch / commit?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150450/new/

https://reviews.llvm.org/D150450



More information about the cfe-commits mailing list