File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -164,20 +164,20 @@ rarely have to include this file directly).
164
164
efficient to use the ``InstVisitor `` class to dispatch over the instruction
165
165
type directly.
166
166
167
- ``isa_and_nonnull <> ``:
168
- The ``isa_and_nonnull <> `` operator works just like the ``isa<> `` operator,
167
+ ``isa_and_present <> ``:
168
+ The ``isa_and_present <> `` operator works just like the ``isa<> `` operator,
169
169
except that it allows for a null pointer as an argument (which it then
170
170
returns false). This can sometimes be useful, allowing you to combine several
171
171
null checks into one.
172
172
173
- ``cast_or_null <> ``:
174
- The ``cast_or_null <> `` operator works just like the ``cast<> `` operator,
173
+ ``cast_if_present <> ``:
174
+ The ``cast_if_present <> `` operator works just like the ``cast<> `` operator,
175
175
except that it allows for a null pointer as an argument (which it then
176
176
propagates). This can sometimes be useful, allowing you to combine several
177
177
null checks into one.
178
178
179
- ``dyn_cast_or_null <> ``:
180
- The ``dyn_cast_or_null <> `` operator works just like the ``dyn_cast<> ``
179
+ ``dyn_cast_if_present <> ``:
180
+ The ``dyn_cast_if_present <> `` operator works just like the ``dyn_cast<> ``
181
181
operator, except that it allows for a null pointer as an argument (which it
182
182
then propagates). This can sometimes be useful, allowing you to combine
183
183
several null checks into one.
You can’t perform that action at this time.
0 commit comments