Lines Matching refs:TPR
108 TPResult TPR = isCXXDeclarationSpecifier(TPResult::False,
110 if (TPR != TPResult::Ambiguous)
111 return TPR != TPResult::False; // Returns true for TPResult::True or
131 TPR = TryParseSimpleDeclaration(AllowForRangeDecl);
135 if (TPR == TPResult::Error)
139 if (TPR == TPResult::Ambiguous)
140 TPR = TPResult::True;
142 assert(TPR == TPResult::True || TPR == TPResult::False);
143 return TPR == TPResult::True;
240 TPResult TPR = isCXXDeclarationSpecifier();
241 if (TPR == TPResult::Ambiguous)
243 if (TPR == TPResult::True || TPR == TPResult::Error)
244 return TPR;
245 assert(TPR == TPResult::False);
248 TPResult TPR = TryParseInitDeclaratorList();
249 if (TPR != TPResult::Ambiguous)
250 return TPR;
288 TPResult TPR = TryParseDeclarator(false/*mayBeAbstract*/);
289 if (TPR != TPResult::Ambiguous)
290 return TPR;
493 TPResult TPR = isCXXDeclarationSpecifier();
494 if (TPR != TPResult::Ambiguous)
495 return TPR != TPResult::False; // Returns true for TPResult::True or
511 TPR = TryParseDeclarator(true/*mayBeAbstract*/, false/*mayHaveIdentifier*/);
514 if (TPR == TPResult::Error)
515 TPR = TPResult::True;
517 if (TPR == TPResult::Ambiguous) {
521 TPR = TPResult::True;
530 TPR = TPResult::True;
534 TPR = TPResult::False;
537 assert(TPR == TPResult::True || TPR == TPResult::False);
538 return TPR == TPResult::True;
792 TPResult TPR = isCXXDeclarationSpecifier();
793 if (TPR == TPResult::Error)
794 return TPR;
795 if (TPR == TPResult::False) {
896 TPResult TPR = TryParseFunctionDeclarator();
897 if (TPR != TPResult::Ambiguous)
898 return TPR;
907 TPResult TPR = TryParseDeclarator(mayBeAbstract, mayHaveIdentifier);
908 if (TPR != TPResult::Ambiguous)
909 return TPR;
919 TPResult TPR(TPResult::Ambiguous);
936 TPR = TryParseFunctionDeclarator();
940 TPR = TryParseBracketDeclarator();
945 if (TPR != TPResult::Ambiguous)
946 return TPR;
1396 TPResult TPR = TPResult::False;
1398 TPR = isCXXDeclarationSpecifier(BracedCastResult,
1402 TPR == TPResult::True || TPR == TPResult::Error)
1467 TPResult TPR = TryParseProtocolQualifiers();
1471 if (TPR == TPResult::Error)
1525 TPResult TPR = TryParseTypeofSpecifier();
1529 if (TPR == TPResult::Error)
1672 TPResult TPR = TryParseParameterDeclarationClause(&InvalidAsDeclaration);
1673 if (TPR == TPResult::Ambiguous) {
1675 TPR = TPResult::False;
1685 TPR = TPResult::True;
1688 TPR = TPResult::False;
1692 if (IsAmbiguous && TPR == TPResult::Ambiguous)
1696 return TPR != TPResult::False;
1751 TPResult TPR = isCXXDeclarationSpecifier(TPResult::False,
1754 if (VersusTemplateArgument && TPR == TPResult::True) {
1767 TPR = isCXXDeclarationSpecifier(TPResult::False,
1769 if (TPR == TPResult::Error)
1770 return TPR;
1771 } while (TPR != TPResult::False);
1772 } else if (TPR == TPResult::Ambiguous) {
1777 return TPR;
1781 TPR = TryParseDeclarator(true/*mayBeAbstract*/);
1782 if (TPR != TPResult::Ambiguous)
1783 return TPR;
1842 TPResult TPR = TryParseParameterDeclarationClause();
1843 if (TPR == TPResult::Ambiguous && Tok.isNot(tok::r_paren))
1844 TPR = TPResult::False;
1846 if (TPR == TPResult::False || TPR == TPResult::Error)
1847 return TPR;