Home
last modified time | relevance | path

Searched refs:TPResult (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/Parse/
DParseTentative.cpp108 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()
135 if (TPR == TPResult::Error) in isCXXSimpleDeclaration()
139 if (TPR == TPResult::Ambiguous) in isCXXSimpleDeclaration()
140 TPR = TPResult::True; in isCXXSimpleDeclaration()
142 assert(TPR == TPResult::True || TPR == TPResult::False); in isCXXSimpleDeclaration()
143 return TPR == TPResult::True; in isCXXSimpleDeclaration()
148 Parser::TPResult Parser::TryConsumeDeclarationSpecifier() { in TryConsumeDeclarationSpecifier()
161 return TPResult::Error; in TryConsumeDeclarationSpecifier()
[all …]
DParseCXXInlineMethods.cpp1040 TPResult Result = TPResult::Error; in ConsumeAndStoreInitializer()
1047 if (Result == TPResult::Ambiguous && Tok.isNot(tok::semi)) in ConsumeAndStoreInitializer()
1048 Result = TPResult::False; in ConsumeAndStoreInitializer()
1057 if (Result == TPResult::Ambiguous && InvalidAsDeclaration) in ConsumeAndStoreInitializer()
1058 Result = TPResult::False; in ConsumeAndStoreInitializer()
1063 if (Result != TPResult::False && Result != TPResult::Error) { in ConsumeAndStoreInitializer()
DParseDecl.cpp2375 TPResult TPR = TryParseDeclarator(/*mayBeAbstract*/false); in ParseImplicitInt()
2378 if (TPR != TPResult::False) { in ParseImplicitInt()
3935 TPResult TPR = isExpressionOrTypeSpecifierSimple(NextToken().getKind()); in ParseEnumSpecifier()
3938 if (TPR == TPResult::True) in ParseEnumSpecifier()
3944 else if (TPR == TPResult::False && in ParseEnumSpecifier()
3964 isCXXDeclarationSpecifier(TPResult::True) != TPResult::True) || in ParseEnumSpecifier()
DParseTemplate.cpp1252 while (isCXXDeclarationSpecifier() == TPResult::True) in IsTemplateArgumentList()
/external/clang/include/clang/Parse/
DParser.h1900 return isCXXDeclarationSpecifier() == TPResult::True; in isKnownToBeDeclarationSpecifier()
2010 enum class TPResult { enum
2024 TPResult isExpressionOrTypeSpecifierSimple(tok::TokenKind Kind);
2033 TPResult
2034 isCXXDeclarationSpecifier(TPResult BracedCastResult = TPResult::False,
2054 TPResult TryParseSimpleDeclaration(bool AllowForRangeDecl);
2055 TPResult TryParseTypeofSpecifier();
2056 TPResult TryParseProtocolQualifiers();
2057 TPResult TryParsePtrOperatorSeq();
2058 TPResult TryParseOperatorId();
[all …]