[PATCH] D127948: [TableGen] Add new operator !instanceof
Nicolai Hähnle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 21 13:14:27 PDT 2022
nhaehnle added a comment.
Thank you. One more thought after sleeping on it: What do you think about `!exists`? I think `!exists<T>("foo")` reads nicely as "does there exist a record of type T with name 'foo'?". It's not perfect, but I like that there's less confusion with "instanceof" or "isinstance" operators that some programming languages have.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127948/new/
https://reviews.llvm.org/D127948
More information about the llvm-commits
mailing list