[all-commits] [llvm/llvm-project] 4c44c9: [clang] Instantiate alias templates with sugar=0D

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Tue Oct 25 18:24:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c44c91ad980304c5cca3792115349e68cfafd2b
      https://github.com/llvm/llvm-project/commit/4c44c91ad980304c5cca3792115349e68cfafd2b
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2022-10-26 (Wed, 26 Oct 2022)

  Changed paths:
    M clang-tools-extra/clangd/unittests/HoverTests.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/test/AST/ast-dump-template-decls.cpp
    M clang/test/CXX/temp/temp.deduct.guide/p3.cpp
    M clang/test/Misc/diag-template-diffing.cpp
    M clang/test/SemaCXX/sizeless-1.cpp
    M clang/test/SemaTemplate/make_integer_seq.cpp
    M clang/test/SemaTemplate/temp_arg_nontype.cpp
    M lldb/test/API/commands/expression/import-std-module/shared_ptr/TestSharedPtrFromStdModule.py
    M lldb/test/API/commands/expression/import-std-module/weak_ptr-dbg-info-content/TestDbgInfoContentWeakPtrFromStdModule.py
    M lldb/test/API/commands/expression/import-std-module/weak_ptr/TestWeakPtrFromStdModule.py

  Log Message:
  -----------
  [clang] Instantiate alias templates with sugar

This makes use of the changes introduced in D134604, in order to
instantiate alias templates witn a final sugared substitution.

This comes at no additional relevant cost.
Since we don't track / unique them in specializations, we wouldn't be
able to resugar them later anyway.

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

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




More information about the All-commits mailing list