[PATCH] D107311: [clang] fix canonicalization of nested name specifiers

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 3 06:49:51 PDT 2021


mizvekov created this revision.
mizvekov edited the summary of this revision.
mizvekov updated this revision to Diff 363710.
mizvekov edited the summary of this revision.
mizvekov added a comment.
mizvekov updated this revision to Diff 363719.
mizvekov updated this revision to Diff 363722.
mizvekov published this revision for review.
mizvekov added a reviewer: rsmith.
mizvekov added a subscriber: Quuxplusone.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

.


mizvekov added a comment.

.


mizvekov added a comment.

.


When canonicalizing nested name spcifiers 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>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107311

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107311.363722.patch
Type: text/x-patch
Size: 6612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210803/98401977/attachment.bin>


More information about the cfe-commits mailing list