This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Fix a nullptr-access crash in unused-raii-check.
ClosedPublic

Authored by hokein on Nov 17 2020, 4:33 AM.

Details

Summary

I saw this crash in our internal production, but unfortunately didn't get
reproduced testcase, we likely hit this crash when the AST is ill-formed
(e.g. broken code).

Diff Detail

Event Timeline

hokein created this revision.Nov 17 2020, 4:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 17 2020, 4:33 AM
Herald added a subscriber: xazax.hun. · View Herald Transcript
hokein requested review of this revision.Nov 17 2020, 4:33 AM
gribozavr2 accepted this revision.Nov 20 2020, 5:23 PM
This revision is now accepted and ready to land.Nov 20 2020, 5:23 PM