[all-commits] [llvm/llvm-project] 67c608: [Concepts] Deprecate -fconcepts-ts, enable Concept...

Saar Raz via All-commits all-commits at lists.llvm.org
Thu Jan 23 14:49:17 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 67c608a9695496cfc9d3fdf9d0b12b554ac6b4df
      https://github.com/llvm/llvm-project/commit/67c608a9695496cfc9d3fdf9d0b12b554ac6b4df
  Author: Saar Raz <saar at raz.email>
  Date:   2020-01-24 (Fri, 24 Jan 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticFrontendKinds.td
    M clang/include/clang/Basic/LangOptions.def
    M clang/include/clang/Basic/TokenKinds.def
    M clang/include/clang/Driver/CC1Options.td
    M clang/lib/AST/DeclTemplate.cpp
    M clang/lib/Basic/IdentifierTable.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Parse/ParseTemplate.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/test/CXX/class.derived/class.virtual/p6.cpp
    M clang/test/CXX/class/class.compare/class.spaceship/p2.cpp
    M clang/test/CXX/dcl/dcl.decl/p3.cpp
    M clang/test/CXX/dcl/dcl.fct/p17.cpp
    M clang/test/CXX/dcl/dcl.spec/dcl.type/dcl.spec.auto/p6.cpp
    M clang/test/CXX/expr/expr.prim/expr.prim.id/mixed-constraints.cpp
    M clang/test/CXX/expr/expr.prim/expr.prim.id/p4.cpp
    M clang/test/CXX/expr/expr.prim/expr.prim.lambda/expr.prim.lambda.closure/p3.cpp
    M clang/test/CXX/expr/expr.prim/expr.prim.req/compound-requirement.cpp
    M clang/test/CXX/expr/expr.prim/expr.prim.req/equivalence.cpp
    M clang/test/CXX/expr/expr.prim/expr.prim.req/nested-requirement.cpp
    M clang/test/CXX/expr/expr.prim/expr.prim.req/p3.cpp
    M clang/test/CXX/expr/expr.prim/expr.prim.req/requires-expr.cpp
    M clang/test/CXX/expr/expr.prim/expr.prim.req/simple-requirement.cpp
    M clang/test/CXX/expr/expr.prim/expr.prim.req/type-requirement.cpp
    M clang/test/CXX/over/over.match/over.match.best/p1-2a.cpp
    M clang/test/CXX/over/over.match/over.match.viable/p3.cpp
    M clang/test/CXX/over/over.over/p4-2a.cpp
    M clang/test/CXX/temp/temp.arg/temp.arg.template/p3-2a.cpp
    M clang/test/CXX/temp/temp.constr/temp.constr.constr/function-templates.cpp
    M clang/test/CXX/temp/temp.constr/temp.constr.constr/non-function-templates.cpp
    M clang/test/CXX/temp/temp.constr/temp.constr.constr/partial-specializations.cpp
    M clang/test/CXX/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
    M clang/test/CXX/temp/temp.constr/temp.constr.decl/p3.cpp
    M clang/test/CXX/temp/temp.constr/temp.constr.normal/p1.cpp
    M clang/test/CXX/temp/temp.constr/temp.constr.order/class-template-partial-specializations.cpp
    M clang/test/CXX/temp/temp.constr/temp.constr.order/function-templates.cpp
    M clang/test/CXX/temp/temp.constr/temp.constr.order/var-template-partial-specializations.cpp
    M clang/test/CXX/temp/temp.explicit/p8.cpp
    M clang/test/CXX/temp/temp.param/p10-2a.cpp
    M clang/test/CodeGenCXX/mangle-concept.cpp
    M clang/test/Lexer/cxx-features.cpp
    M clang/test/Lexer/keywords_test.cpp
    M clang/test/PCH/cxx2a-requires-expr.cpp
    M clang/test/Parser/cxx-concept-declaration.cpp
    M clang/test/Parser/cxx-concepts-ambig-constraint-expr.cpp
    M clang/test/Parser/cxx-concepts-requires-clause.cpp
    M clang/test/Parser/cxx2a-concept-declaration.cpp
    M clang/test/Parser/cxx2a-concepts-requires-expr.cpp
    M clang/test/Parser/cxx2a-constrained-template-param-with-partial-id.cpp
    M clang/test/Parser/cxx2a-constrained-template-param.cpp
    M clang/test/Parser/cxx2a-placeholder-type-constraint.cpp
    M clang/test/SemaTemplate/cxx2a-constraint-caching.cpp
    M clang/test/SemaTemplate/instantiate-expanded-type-constraint.cpp
    M clang/test/SemaTemplate/instantiate-requires-clause.cpp
    M clang/test/SemaTemplate/instantiate-requires-expr.cpp

  Log Message:
  -----------
  [Concepts] Deprecate -fconcepts-ts, enable Concepts under -std=c++2a

Now with concepts support merged and mostly complete, we do not need -fconcepts-ts
(which was also misleading as we were not implementing the TS) and can enable
concepts features under C++2a. A warning will be generated if users still attempt
to use -fconcepts-ts.




More information about the All-commits mailing list