================
@@ -1196,6 +1196,95 @@ void Parser::AnnotateExistingDecltypeSpecifier(const
DeclSpec &DS,
PP.AnnotateCachedTokens(Tok);
}
+SourceLocation Parser::ParseIndexedTypeNamePack(DeclSpec &DS) {
+ assert(Tok.isOneOf(tok::annot_indexed_pack_type, tok::identifier) &&
----------------
cor3ntin wrote:
When we annotate the token, we go through this function (and once we parse a
type, we convert it an annotation), and sometimes we use the type directly
(destructor case)
https://github.com/llvm/llvm-project/pull/72644
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits