This is an archive of the discontinued LLVM Phabricator instance.

[clang][dataflow][NFC] Fix outdated comment on getStableStorageLocation
ClosedPublic

Authored by li.zhe.hua on Aug 3 2022, 1:19 PM.

Details

Summary

Follow-up to D129097.

It is no longer a requirement that the QualType passed to to
DataflowAnalysisContext::getStableStorageLocation() is not null. A
null type pass as an argument is only applicable as the pointee type
of a std::nullptr_t pointer.

Diff Detail

Event Timeline

li.zhe.hua created this revision.Aug 3 2022, 1:19 PM
Herald added a project: Restricted Project. · View Herald Transcript
li.zhe.hua requested review of this revision.Aug 3 2022, 1:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2022, 1:19 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
ymandel accepted this revision.Aug 3 2022, 1:25 PM

thanks!

This revision is now accepted and ready to land.Aug 3 2022, 1:25 PM
xazax.hun accepted this revision.Aug 3 2022, 1:29 PM
sgatev accepted this revision.Aug 3 2022, 10:19 PM

Thanks!