[all-commits] [llvm/llvm-project] 63f465: [clang] Perform sugared substitution of builtin te...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Wed Oct 26 21:02:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63f465b7f45d374f92d0e7697fddb3fb9b74241e
      https://github.com/llvm/llvm-project/commit/63f465b7f45d374f92d0e7697fddb3fb9b74241e
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2022-10-27 (Thu, 27 Oct 2022)

  Changed paths:
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/test/SemaTemplate/make_integer_seq.cpp
    M clang/test/SemaTemplate/type_pack_element.cpp

  Log Message:
  -----------
  [clang] Perform sugared substitution of builtin templates

Since these are much like template type aliases, where we don't
track a specialization for them and just substitute them eagerly,
we can't resugar them anyway, and there is no relevant cost in just
performing a finalizing sugared substitution.

Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>

Differential Revision: https://reviews.llvm.org/D136563




More information about the All-commits mailing list