diff options
author | Don Hinton <hintonda@gmail.com> | 2019-04-05 13:59:24 +0000 |
---|---|---|
committer | Don Hinton <hintonda@gmail.com> | 2019-04-05 13:59:24 +0000 |
commit | 629daef4baee7ed74d7de5ad644576271a7a6c15 (patch) | |
tree | bb42a6860b13275963bf72995bd2ae377d76b574 /clang/unittests/Tooling/SourceCodeTest.cpp | |
parent | 50a8652785226b6ae9de0f51d2f2415268f42c50 (diff) | |
download | bcm5719-llvm-629daef4baee7ed74d7de5ad644576271a7a6c15.tar.gz bcm5719-llvm-629daef4baee7ed74d7de5ad644576271a7a6c15.zip |
[llvm] Add isa_and_nonnull
Summary:
Add new ``isa_and_nonnull<>`` operator that works just like
the ``isa<>`` operator, except that it allows for a null pointer as an
argument (which it then returns false).
Reviewers: lattner, aaron.ballman, greened
Reviewed By: lattner
Subscribers: hubert.reinterpretcast, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60291
llvm-svn: 357761
Diffstat (limited to 'clang/unittests/Tooling/SourceCodeTest.cpp')
0 files changed, 0 insertions, 0 deletions