Searched refs:TPResult (Results 1 – 5 of 5) sorted by relevance
108 TPResult TPR = isCXXDeclarationSpecifier(TPResult::False, in isCXXSimpleDeclaration()110 if (TPR != TPResult::Ambiguous) in isCXXSimpleDeclaration()111 return TPR != TPResult::False; // Returns true for TPResult::True or in isCXXSimpleDeclaration()134 if (TPR == TPResult::Error) in isCXXSimpleDeclaration()138 if (TPR == TPResult::Ambiguous) in isCXXSimpleDeclaration()139 TPR = TPResult::True; in isCXXSimpleDeclaration()141 assert(TPR == TPResult::True || TPR == TPResult::False); in isCXXSimpleDeclaration()142 return TPR == TPResult::True; in isCXXSimpleDeclaration()147 Parser::TPResult Parser::TryConsumeDeclarationSpecifier() { in TryConsumeDeclarationSpecifier()160 return TPResult::Error; in TryConsumeDeclarationSpecifier()[all …]
1034 TPResult Result = TPResult::Error; in ConsumeAndStoreInitializer()1041 if (Result == TPResult::Ambiguous && Tok.isNot(tok::semi)) in ConsumeAndStoreInitializer()1042 Result = TPResult::False; in ConsumeAndStoreInitializer()1051 if (Result == TPResult::Ambiguous && InvalidAsDeclaration) in ConsumeAndStoreInitializer()1052 Result = TPResult::False; in ConsumeAndStoreInitializer()1057 if (Result != TPResult::False && Result != TPResult::Error) { in ConsumeAndStoreInitializer()
2256 TPResult TPR = TryParseDeclarator(/*mayBeAbstract*/false); in ParseImplicitInt()2259 if (TPR != TPResult::False) { in ParseImplicitInt()3718 TPResult TPR = isExpressionOrTypeSpecifierSimple(NextToken().getKind()); in ParseEnumSpecifier()3721 if (TPR == TPResult::True) in ParseEnumSpecifier()3727 else if (TPR == TPResult::False && in ParseEnumSpecifier()3747 isCXXDeclarationSpecifier(TPResult::True) != TPResult::True) || in ParseEnumSpecifier()
1215 while (isCXXDeclarationSpecifier() == TPResult::True) in IsTemplateArgumentList()
1789 return isCXXDeclarationSpecifier() == TPResult::True; in isKnownToBeDeclarationSpecifier()1892 enum class TPResult { enum1906 TPResult isExpressionOrTypeSpecifierSimple(tok::TokenKind Kind);1915 TPResult1916 isCXXDeclarationSpecifier(TPResult BracedCastResult = TPResult::False,1936 TPResult TryParseSimpleDeclaration(bool AllowForRangeDecl);1937 TPResult TryParseTypeofSpecifier();1938 TPResult TryParseProtocolQualifiers();1939 TPResult TryParsePtrOperatorSeq();1940 TPResult TryParseOperatorId();[all …]