Searched refs:ProtoToken (Results 1 – 1 of 1) sorted by relevance
137 Token ProtoToken; in removeVoidArgumentTokens() local141 while (!PrototypeLexer.LexFromRawLexer(ProtoToken)) { in removeVoidArgumentTokens()144 if (ProtoToken.is(tok::TokenKind::l_paren)) { in removeVoidArgumentTokens()149 if (ProtoToken.is(tok::TokenKind::raw_identifier) && in removeVoidArgumentTokens()150 ProtoToken.getRawIdentifier() == "void") { in removeVoidArgumentTokens()152 VoidToken = ProtoToken; in removeVoidArgumentTokens()153 } else if (ProtoToken.is(tok::TokenKind::l_paren)) { in removeVoidArgumentTokens()161 if (ProtoToken.is(tok::TokenKind::r_paren)) { in removeVoidArgumentTokens()163 } else if (ProtoToken.is(tok::TokenKind::l_paren)) { in removeVoidArgumentTokens()170 if (State == SawVoid && ProtoToken.is(tok::TokenKind::r_paren)) { in removeVoidArgumentTokens()