This is an archive of the discontinued LLVM Phabricator instance.

[ASTMatchers] Fix crash with HasName and HasAnyName
Needs ReviewPublic

Authored by njames93 on Jun 3 2020, 3:18 AM.

Details

Summary

Fixes crashes caused by matching fully qualified RecordDecls inside Function bodies.
See https://bugs.llvm.org/show_bug.cgi?id=43639.
I'm still unsure if this is the desired behaviour though.

Diff Detail

Event Timeline

njames93 created this revision.Jun 3 2020, 3:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2020, 3:18 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
njames93 updated this revision to Diff 268142.Jun 3 2020, 4:41 AM

Fix clang-format error.