Allow dependent alias template specializations in the preferred_name
authorRichard Smith <richard@metafoo.co.uk>
Tue, 5 Jan 2021 23:32:44 +0000 (15:32 -0800)
committerRichard Smith <richard@metafoo.co.uk>
Tue, 5 Jan 2021 23:33:51 +0000 (15:33 -0800)
commitb12e4735317ec96e1b35deee68b90d62a23a9353
tree109e21b82a8c3f28217c7faee4ac62d2e316a31a
parent8b124c19f52cb8ed0236b602df56787553e1e1b6
Allow dependent alias template specializations in the preferred_name
attribute.

This was intended to work, but didn't match the checks because these
types are modeled as TemplateSpecializationTypes not TypedefTypes.
clang/include/clang/AST/Type.h
clang/lib/AST/TypePrinter.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/SemaTemplate/attributes.cpp