================
@@ -5603,7 +5602,8 @@ static TypeSourceInfo
*GetFullTypeForDeclarator(TypeProcessingState &state,
(D.getContext() == clang::DeclaratorContext::Member &&
D.isStaticMember())) &&
!IsTypedefName && D.getContext() != DeclaratorContext::TemplateArg &&
- D.getContext() != DeclaratorContext::TemplateTypeArg) {
+ D.getContext() != DeclaratorContext::TemplateTypeArg &&
+ D.getContext() != DeclaratorContext::TypeName) {
----------------
AZero13 wrote:
@efriedma-quic Your example is not allowed.
https://github.com/llvm/llvm-project/pull/209836
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits