[PATCH] D81075: [ASTMatchers] Fix crash with HasName and HasAnyName
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 3 03:48:18 PDT 2020
njames93 created this revision.
njames93 added reviewers: klimek, sbenza.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D81075
Files:
clang/include/clang/AST/PrettyPrinter.h
clang/lib/AST/Decl.cpp
clang/lib/ASTMatchers/ASTMatchersInternal.cpp
clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81075.268119.patch
Type: text/x-patch
Size: 5243 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200603/c6606ce3/attachment.bin>
More information about the cfe-commits
mailing list