This is an archive of the discontinued LLVM Phabricator instance.

[CodeComplete] Properly determine qualifiers of 'this' in a lambda
ClosedPublic

Authored by ilya-biryukov on Dec 19 2018, 5:31 AM.

Details

Summary

The clang used to pick up the qualifiers of the lamba's call operator
(which is always const) and fail to show non-const methods of 'this' in
completion results.

Diff Detail

Event Timeline

ilya-biryukov created this revision.Dec 19 2018, 5:31 AM
kadircet accepted this revision.Dec 19 2018, 5:38 AM

LGTM, thanks!

This revision is now accepted and ready to land.Dec 19 2018, 5:38 AM
This revision was automatically updated to reflect the committed changes.