[all-commits] [llvm/llvm-project] ba4768: [c++20] For P0732R2 / P1907R1: Basic frontend supp...

Richard Smith via All-commits all-commits at lists.llvm.org
Wed Oct 21 13:22:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ba4768c966581658465f7366df9b0811f468a2d7
      https://github.com/llvm/llvm-project/commit/ba4768c966581658465f7366df9b0811f468a2d7
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-10-21 (Wed, 21 Oct 2020)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/DeclTemplate.h
    M clang/include/clang/AST/RecursiveASTVisitor.h
    M clang/include/clang/Basic/DeclNodes.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/Initialization.h
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ASTDiagnostic.cpp
    M clang/lib/AST/DeclBase.cpp
    M clang/lib/AST/DeclTemplate.cpp
    M clang/lib/AST/ExprClassification.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/AST/MicrosoftMangle.cpp
    M clang/lib/AST/StmtPrinter.cpp
    M clang/lib/AST/TemplateBase.cpp
    M clang/lib/CodeGen/CGDecl.cpp
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/lib/Serialization/ASTCommon.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp
    M clang/test/CXX/drs/dr3xx.cpp
    A clang/test/CXX/temp/temp.param/p8-cxx20.cpp
    A clang/test/PCH/cxx20-template-args.cpp
    M clang/test/SemaCXX/cxx17-compat.cpp
    M clang/test/SemaTemplate/temp_arg_nontype_cxx20.cpp
    M clang/tools/libclang/CIndex.cpp

  Log Message:
  -----------
  [c++20] For P0732R2 / P1907R1: Basic frontend support for class types as
non-type template parameters.

Create a unique TemplateParamObjectDecl instance for each such value,
representing the globally unique template parameter object to which the
template parameter refers.

No IR generation support yet; that will follow in a separate patch.


  Commit: 0c417d4bef1e78b0716c546101462f6d8962f358
      https://github.com/llvm/llvm-project/commit/0c417d4bef1e78b0716c546101462f6d8962f358
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-10-21 (Wed, 21 Oct 2020)

  Changed paths:
    M clang/include/clang/AST/APValue.h
    M clang/include/clang/AST/DeclTemplate.h
    M clang/lib/AST/APValue.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/test/PCH/cxx20-template-args.cpp

  Log Message:
  -----------
  Add more test coverage for APValue serialization / deserialization and
fix a few exposed bugs.


Compare: https://github.com/llvm/llvm-project/compare/1d1217c4ea11...0c417d4bef1e


More information about the All-commits mailing list