Lines Matching refs:takeError
213 expectDiagnosticError(OverflowErrorStr, ResultValue.takeError()); in checkValueFromStringReprFailure()
324 NoFormat.getWildcardRegex().takeError()); in TEST_F()
327 NoFormat.getMatchingString(ExpressionValue(18u)).takeError()); in TEST_F()
394 doValueOperation(Operation, LeftValue, RightValue).takeError()); in expectOperationValueResult()
415 "overflow error", ExpressionValue(-1).getUnsignedValue().takeError()); in TEST_F()
420 ExpressionValue(MinInt64).getUnsignedValue().takeError()); in TEST_F()
443 .takeError()); in TEST_F()
448 ExpressionValue(MaxUint64).getSignedValue().takeError()); in TEST_F()
710 expectUndefErrors({"FOO"}, EvalResult.takeError()); in TEST_F()
743 expectUndefErrors({"FOO"}, EvalResult.takeError()); in TEST_F()
779 expectUndefErrors({"FOO"}, Value.takeError()); in TEST_F()
785 expectUndefErrors({"FOO", "BAR"}, Value.takeError()); in TEST_F()
825 ImplicitFormat.takeError()); in TEST_F()
857 ImplicitFormat.takeError()); in TEST_F()
899 expectDiagnosticError("invalid variable name", ParsedVarResult.takeError()); in TEST_F()
903 expectDiagnosticError("invalid variable name", ParsedVarResult.takeError()); in TEST_F()
1007 Tester.parseSubst("%VAR:").takeError()); in TEST_F()
1010 Tester.parseSubst("@LINE:").takeError()); in TEST_F()
1013 Tester.parseSubst("BAR:").takeError()); in TEST_F()
1016 Tester.parseSubst("VAR GARBAGE:").takeError()); in TEST_F()
1020 Tester.parseSubst("%X,FOO:").takeError()); in TEST_F()
1024 Tester.parseSubst("X,VAR1:").takeError()); in TEST_F()
1026 Tester.parseSubst("%F,VAR1:").takeError()); in TEST_F()
1028 Tester.parseSubst("%X a,VAR1:").takeError()); in TEST_F()
1055 Tester.parseSubst("%VAR").takeError()); in TEST_F()
1058 Tester.parseSubst("@FOO").takeError()); in TEST_F()
1068 Tester.parseSubst("SAME_LINE_VAR").takeError()); in TEST_F()
1075 Tester.parseSubst("SAME_LINE_EXPR_VAR").takeError()); in TEST_F()
1084 Tester.parseSubst("42U").takeError()); in TEST_F()
1091 Tester.parseSubst("==").takeError()); in TEST_F()
1108 Tester.parseSubst("+=FOO").takeError()); in TEST_F()
1112 Tester.parseSubst("X,FOO:").takeError()); in TEST_F()
1114 Tester.parseSubst("%F,FOO").takeError()); in TEST_F()
1116 Tester.parseSubst("%X a,FOO").takeError()); in TEST_F()
1124 Tester.parseSubst("@LINE/2").takeError()); in TEST_F()
1127 Tester.parseSubst("@LINE+").takeError()); in TEST_F()
1132 Tester.parseSubst("@LINE+%VAR").takeError()); in TEST_F()
1137 Tester.parseSubst("@LINE+@LINE", /*IsLegacyNumExpr=*/true).takeError()); in TEST_F()
1142 Tester.parseSubst("2", /*IsLegacyNumExpr=*/true).takeError()); in TEST_F()
1147 Tester.parseSubst("@LINE+0xC", /*LegacyLineExpr=*/true).takeError()); in TEST_F()
1166 Tester.parseSubst("@LINE+2+@LINE", /*IsLegacyNumExpr=*/true).takeError()); in TEST_F()
1169 Tester.parseSubst("@LINE+2+2", /*IsLegacyNumExpr=*/true).takeError()); in TEST_F()
1182 Tester.parseSubst("FOO+VAR_LOWER_HEX").takeError()); in TEST_F()
1193 Tester.parseSubst("(").takeError()); in TEST_F()
1195 Tester.parseSubst("(1").takeError()); in TEST_F()
1197 Tester.parseSubst("(1+").takeError()); in TEST_F()
1199 Tester.parseSubst("(1+1").takeError()); in TEST_F()
1201 Tester.parseSubst("((1+2+3").takeError()); in TEST_F()
1203 Tester.parseSubst("((1+2)+3").takeError()); in TEST_F()
1207 Tester.parseSubst("(1)(2)").takeError()); in TEST_F()
1209 Tester.parseSubst("2(X)").takeError()); in TEST_F()
1214 Tester.parseSubst(")").takeError()); in TEST_F()
1216 Tester.parseSubst("1)").takeError()); in TEST_F()
1218 Tester.parseSubst("(1+2))").takeError()); in TEST_F()
1220 Tester.parseSubst("(2))").takeError()); in TEST_F()
1222 Tester.parseSubst("(1))(").takeError()); in TEST_F()
1242 Tester.parseSubst("add(FOO,(BAR+7)").takeError()); in TEST_F()
1244 Tester.parseSubst("add(FOO,min(BAR,7)").takeError()); in TEST_F()
1246 Tester.parseSubst("add(FOO,)").takeError()); in TEST_F()
1248 Tester.parseSubst("add(,FOO)").takeError()); in TEST_F()
1250 Tester.parseSubst("add(FOO,,3)").takeError()); in TEST_F()
1254 Tester.parseSubst("bogus_function(FOO,3)").takeError()); in TEST_F()
1256 Tester.parseSubst("@add(2,3)").takeError()); in TEST_F()
1258 Tester.parseSubst("$add(2,3)").takeError()); in TEST_F()
1260 Tester.parseSubst("FOO(2,3)").takeError()); in TEST_F()
1262 Tester.parseSubst("FOO (2,3)").takeError()); in TEST_F()
1266 Tester.parseSubst("add(FOO)").takeError()); in TEST_F()
1268 Tester.parseSubst("add(FOO,3,4)").takeError()); in TEST_F()
1272 Tester.parseSubst("2add(FOO,2)").takeError()); in TEST_F()
1274 Tester.parseSubst("FOO add(FOO,2)").takeError()); in TEST_F()
1276 Tester.parseSubst("add(FOO,2)add(FOO,2)").takeError()); in TEST_F()
1321 Tester.match("").takeError()); in TEST_F()
1326 expectNotFoundError(Tester.match("FAIL").takeError()); in TEST_F()
1332 expectNotFoundError(Tester.match("FAIL").takeError()); in TEST_F()
1333 expectNotFoundError(Tester.match("").takeError()); in TEST_F()
1337 expectNotFoundError(Tester.match("C").takeError()); in TEST_F()
1341 expectNotFoundError(Tester.match("g").takeError()); in TEST_F()
1342 expectNotFoundError(Tester.match("C").takeError()); in TEST_F()
1346 expectNotFoundError(Tester.match("H").takeError()); in TEST_F()
1347 expectNotFoundError(Tester.match("b").takeError()); in TEST_F()
1354 expectNotFoundError(Tester.match("f").takeError()); in TEST_F()
1355 expectNotFoundError(Tester.match("F").takeError()); in TEST_F()
1359 expectNotFoundError(Tester.match("13").takeError()); in TEST_F()
1360 expectNotFoundError(Tester.match("D").takeError()); in TEST_F()
1364 expectNotFoundError(Tester.match("12").takeError()); in TEST_F()
1365 expectNotFoundError(Tester.match("c").takeError()); in TEST_F()
1371 expectNotFoundError(Tester.match("101").takeError()); in TEST_F()
1381 expectNotFoundError(Tester.match("19 21").takeError()); in TEST_F()
1382 expectNotFoundError(Tester.match("18 21").takeError()); in TEST_F()
1395 expectUndefErrors({"UNKNOWN"}, Tester.match("FOO").takeError()); in TEST_F()
1409 expectNotFoundError(Tester.match("FAIL").takeError()); in TEST_F()
1410 expectNotFoundError(Tester.match("").takeError()); in TEST_F()
1415 expectNotFoundError(Tester.match("21").takeError()); in TEST_F()
1455 expectNotFoundError(Tester.match("FAIL").takeError()); in TEST_F()
1456 expectNotFoundError(Tester.match("").takeError()); in TEST_F()
1506 expectUndefErrors({"VAR404"}, SubstValue.takeError()); in TEST_F()
1526 expectUndefErrors({"N"}, SubstValue.takeError()); in TEST_F()
1642 expectUndefErrors({std::string(UnknownVarStr)}, UnknownVar.takeError()); in TEST_F()
1647 expectUndefErrors({std::string(LocalVarStr)}, LocalVar.takeError()); in TEST_F()
1653 (*ExpressionPointer)->getAST()->eval().takeError()); in TEST_F()
1660 expectUndefErrors({"LocalNumVar1"}, ExpressionVal.takeError()); in TEST_F()
1666 expectUndefErrors({"LocalNumVar2"}, ExpressionVal.takeError()); in TEST_F()
1668 expectUndefErrors({"EmptyVar"}, EmptyVar.takeError()); in TEST_F()