• Home
  • Raw
  • Download

Lines Matching refs:TPR

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