[PATCH] D62582: [CodeComplete] Improve overload handling for C++ qualified and ref-qualified methods.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 29 05:59:38 PDT 2019
sammccall created this revision.
sammccall added a reviewer: ilya-biryukov.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
- when a method is not available because of the target value kind (e.g. an && method on a Foo& variable), then don't offer it.
- when a method is effectively shadowed by another method from the same class with a) an identical argument list and b) superior qualifiers, then don't offer it.
Repository:
rC Clang
https://reviews.llvm.org/D62582
Files:
lib/Sema/SemaCodeComplete.cpp
test/CodeCompletion/member-access.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62582.201886.patch
Type: text/x-patch
Size: 11043 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190529/fc4cfb13/attachment-0001.bin>
More information about the cfe-commits
mailing list