[all-commits] [llvm/llvm-project] 168ece: [clang] fix canonicalization of nested name specif...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Tue Aug 10 23:13:27 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 168ece289bd4266b711f9bbccc0fe52eb772700c
      https://github.com/llvm/llvm-project/commit/168ece289bd4266b711f9bbccc0fe52eb772700c
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2021-08-10 (Tue, 10 Aug 2021)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/test/CXX/temp/temp.constr/temp.constr.normal/p1.cpp

  Log Message:
  -----------
  [clang] fix canonicalization of nested name specifiers

See PR47174.

When canonicalizing nested name specifiers of the type kind,
the prefix for 'DependentTemplateSpecialization' types was being
dropped, leading to malformed types which would cause failures
when rebuilding template names.

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

Reviewed By: rsmith

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

(cherry picked from commit 219790c1f53665a8b5f7578472e5c2675f9bec6a)




More information about the All-commits mailing list