[all-commits] [llvm/llvm-project] 517556: Add -std=c++20 flag, replace C++2a with C++20 thro...

Richard Smith via All-commits all-commits at lists.llvm.org
Wed Feb 19 13:38:46 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 5175565cf154aede57354336102a7f6e15a16a20
      https://github.com/llvm/llvm-project/commit/5175565cf154aede57354336102a7f6e15a16a20
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-02-19 (Wed, 19 Feb 2020)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/include/clang/Basic/DiagnosticASTKinds.td
    M clang/include/clang/Basic/DiagnosticCommonKinds.td
    M clang/include/clang/Basic/DiagnosticFrontendKinds.td
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/LangStandards.def
    M clang/include/clang/Basic/StmtNodes.td
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p3.cpp
    M clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/p2.cpp
    M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp
    M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p4.cpp
    M clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.default/p1.cpp
    M clang/test/CXX/drs/dr2xx.cpp
    M clang/test/CXX/drs/dr6xx.cpp
    M clang/test/CXX/expr/expr.prim/expr.prim.lambda/p8.cpp
    M clang/test/Driver/unknown-std.cpp
    M clang/test/Lexer/cxx2a-spaceship.cpp
    M clang/test/Lexer/cxx2a_keyword_as_cxx17.cpp
    M clang/test/Parser/cxx1z-decomposition.cpp
    M clang/test/Parser/cxx2a-concept-declaration.cpp
    M clang/test/Parser/cxx2a-inline-nested-namespace-definition.cpp
    M clang/test/Parser/explicit-bool.cpp
    M clang/test/Preprocessor/init.c
    M clang/test/SemaCXX/cxx17-compat.cpp
    M clang/test/SemaCXX/cxx1z-constexpr-lambdas.cpp
    M clang/test/SemaCXX/cxx1z-decomposition.cpp
    M clang/test/SemaCXX/cxx2a-compat.cpp
    M clang/test/SemaCXX/cxx2a-initializer-aggregates.cpp
    M clang/test/SemaCXX/member-init.cpp
    M clang/www/cxx_status.html

  Log Message:
  -----------
  Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang
user interface and documentation, and update __cplusplus for C++20.

WG21 considers the C++20 standard to be finished (even though it still
has some more steps to pass through in the ISO process).

The old flag names are accepted for compatibility, as usual, and we
still have lots of references to C++2a in comments and identifiers;
those can be cleaned up separately.

(cherry picked from commit 24ad121582454e625bdad125c90d9ac0dae948c8)




More information about the All-commits mailing list