getWildcardRegex() guarantees that only valid hex numbers are matched by
FileCheck numeric expressions. This commit therefore only asserts the
lack of parsing failure in valueFromStringRepr().
Depends On D154430
Paths
| Differential D154431
[FileCheck] Turn errors into assert in valueFromStringRepr() ClosedPublic Authored by thopre on Jul 4 2023, 4:09 AM.
Details Summary getWildcardRegex() guarantees that only valid hex numbers are matched by Depends On D154430
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 4 2023, 9:26 AM This revision was landed with ongoing or failed builds.Aug 7 2023, 1:28 PM Closed by commit rGb743c19360a6: [FileCheck] Turn errors into assert in valueFromStringRepr() (authored by thopre). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 537046 llvm/lib/FileCheck/FileCheck.cpp
llvm/unittests/FileCheck/FileCheckTest.cpp
|