This is an archive of the discontinued LLVM Phabricator instance.

[flang][NFC] rename isAbsent to isStaticallyAbsent in IntrinsicCall.cpp
ClosedPublic

Authored by jeanPerier on Apr 8 2022, 3:58 AM.

Details

Summary

isAbsent/isPresent helpers only give information about static presence
of intrinsic arguments. Many intrinsic arguments optionality is dynamic
(an absent dummy can legally be passed to these intrinsics). This
requires a different handling (like handleDynamicOptional).

Rename the helpers to avoid misleading coder/reader into thinking all
optionality cases are covered by them.

Diff Detail

Event Timeline

jeanPerier created this revision.Apr 8 2022, 3:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 8 2022, 3:58 AM
jeanPerier requested review of this revision.Apr 8 2022, 3:58 AM
This revision is now accepted and ready to land.Apr 8 2022, 4:00 AM