[PATCH] D93419: [TableGen] Add the !substr() bang operator
Paul C. Anagnostopoulos via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 21 05:45:30 PST 2020
Paul-C-Anagnostopoulos added a comment.
Yes, that is what needs to be done: The assertions have to be stored somehow and checked later.
The same goes for assertions in classes and records. Just as with field values, they have to be evaluated after the record is built. But that may feel wrong when writing something like this:
int foo = 13;
assert ...foo...
let foo = 42;
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93419/new/
https://reviews.llvm.org/D93419
More information about the llvm-commits
mailing list