Home
last modified time | relevance | path

Searched refs:ExpressionPointer (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/llvm/unittests/FileCheck/
DFileCheckTest.cpp1613 Expected<std::unique_ptr<Expression>> ExpressionPointer = in TEST_F() local
1621 ASSERT_THAT_EXPECTED(ExpressionPointer, Succeeded()); in TEST_F()
1623 (*ExpressionPointer)->getAST()->eval(); in TEST_F()
1626 ExpressionPointer = P.parseNumericSubstitutionBlock( in TEST_F()
1629 ASSERT_THAT_EXPECTED(ExpressionPointer, Succeeded()); in TEST_F()
1630 ExpressionVal = (*ExpressionPointer)->getAST()->eval(); in TEST_F()
1633 ExpressionPointer = P.parseNumericSubstitutionBlock( in TEST_F()
1636 ASSERT_THAT_EXPECTED(ExpressionPointer, Succeeded()); in TEST_F()
1637 ExpressionVal = (*ExpressionPointer)->getAST()->eval(); in TEST_F()
1653 (*ExpressionPointer)->getAST()->eval().takeError()); in TEST_F()
[all …]
/external/llvm-project/llvm/lib/FileCheck/
DFileCheckImpl.h435 std::unique_ptr<Expression> ExpressionPointer;
439 std::unique_ptr<Expression> ExpressionPointer, in NumericSubstitution() argument
442 ExpressionPointer(std::move(ExpressionPointer)) {} in NumericSubstitution()
DFileCheck.cpp401 assert(ExpressionPointer->getAST() != nullptr && in getResult()
404 ExpressionPointer->getAST()->eval(); in getResult()
407 ExpressionFormat Format = ExpressionPointer->getFormat(); in getResult()
870 std::unique_ptr<Expression> ExpressionPointer = in parseNumericSubstitutionBlock() local
877 DefExpr, Context, LineNumber, ExpressionPointer->getFormat(), SM); in parseNumericSubstitutionBlock()
884 return std::move(ExpressionPointer); in parseNumericSubstitutionBlock()
1057 std::unique_ptr<Expression> ExpressionPointer; in parsePattern() local
1068 ExpressionPointer = std::move(*ParseResult); in parsePattern()
1069 SubstNeeded = ExpressionPointer->getAST() != nullptr; in parsePattern()
1077 ExpressionFormat Format = ExpressionPointer->getFormat(); in parsePattern()
[all …]