[PATCH] D30248: [libclang] Fix crash in member access code completion with implicit base
Erik Verbruggen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 22 02:45:11 PST 2017
erikjv created this revision.
If there is an unresolved member access AST node, and the base is
implicit, do not access/use it for generating candidate overloads for
code completion results (because the base is a nullptr).
Fixes PR31093.
https://reviews.llvm.org/D30248
Files:
lib/Sema/SemaCodeComplete.cpp
lib/Sema/SemaOverload.cpp
test/CodeCompletion/member-access.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30248.89341.patch
Type: text/x-patch
Size: 4260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170222/b044a649/attachment.bin>
More information about the cfe-commits
mailing list