[all-commits] [llvm/llvm-project] a97899: Re-apply 4b6c2cd642 "Deferred Concept Instantiatio...

Erich Keane via All-commits all-commits at lists.llvm.org
Mon May 2 07:49:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a97899108e495147985e5e9492e742d51d5cc97a
      https://github.com/llvm/llvm-project/commit/a97899108e495147985e5e9492e742d51d5cc97a
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2022-05-02 (Mon, 02 May 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/Decl.h
    M clang/include/clang/AST/DeclBase.h
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Sema/Template.h
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/Decl.cpp
    M clang/lib/AST/DeclBase.cpp
    M clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
    M clang/lib/Sema/SemaConcept.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/lib/Sema/SemaTemplateInstantiate.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp
    M clang/test/CXX/temp/temp.constr/temp.constr.constr/non-function-templates.cpp
    M clang/test/SemaTemplate/concepts.cpp
    A clang/test/SemaTemplate/deferred-concept-inst.cpp
    M clang/test/SemaTemplate/instantiate-requires-clause.cpp
    A clang/test/SemaTemplate/trailing-return-short-circuit.cpp

  Log Message:
  -----------
  Re-apply 4b6c2cd642 "Deferred Concept Instantiation Implementation""

This reverts commit 0c31da48389754822dc3eecc4723160c295b9ab2.

I've solved the issue with the PointerUnion by making the
`FunctionTemplateDecl` pointer be a NamedDecl, that could be a
`FunctionDecl` or `FunctionTemplateDecl` depending.  This is enforced
with an assert.




More information about the All-commits mailing list