[PATCH] D60390: FileCheck [10/12]: Add support for signed numeric values
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 13 01:02:42 PDT 2020
jhenderson added inline comments.
================
Comment at: llvm/test/FileCheck/numeric-expression.txt:89-90
+11 // VAR1c
+
+c // VAR2a
CHECK-LABEL: USE DEF FMT IMPL MATCH
----------------
I'm not following the purpose of the blank line here?
================
Comment at: llvm/unittests/Support/FileCheckTest.cpp:385
+
+ AdditionResult = UnsignedTen + MinusTen;
+ ASSERT_THAT_EXPECTED(AdditionResult, Succeeded());
----------------
jhenderson wrote:
> What about `10u + -11` or `-11 + 10u`?
Where has this been addressed?
================
Comment at: llvm/unittests/Support/FileCheckTest.cpp:405
+ // operator- tests.
+ Expected<ExpressionValue> SubstractionResult = MinusTen - SignedTen;
+ ASSERT_THAT_EXPECTED(SubstractionResult, Succeeded());
----------------
jhenderson wrote:
> What about `MinusTen - MinusTen`?
Where has this been addressed?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60390/new/
https://reviews.llvm.org/D60390
More information about the llvm-commits
mailing list