summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/complete-access-checks.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [CodeComplete] Fix accessibility of protected members when accessing members ↵Eric Liu2018-10-221-5/+16
| | | | | | | | | | | | implicitly. Reviewers: ilya-biryukov Subscribers: arphaman, cfe-commits Differential Revision: https://reviews.llvm.org/D53369 llvm-svn: 344889
* [CodeComplete] Re-fix accessibilty of protected members from base class.Eric Liu2018-10-021-2/+2
| | | | | | | | | | | | | | | Summary: The initial fix (r337453) had bug and was partially reverted (r338255). This simplies the original fix by explicitly passing the naming class to the completion consumer. Reviewers: ilya-biryukov Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D52647 llvm-svn: 343575
* [CodeComplete] Fix accessibilty of protected members from base class.Eric Liu2018-07-191-2/+25
| | | | | | | | | | | | | | | | | | Summary: Currently, protected members from base classes are marked as inaccessible when completing in derived class. This patch fixes the problem by setting the naming class correctly when looking up results in base class according to [11.2.p5]. Reviewers: aaron.ballman, sammccall, rsmith Reviewed By: aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D49421 llvm-svn: 337453
* Set completion priority of destructors and operators to CCP_Unlikely.Ilya Biryukov2017-09-221-12/+12
| | | | | | | | | | | | | | | | | | | Summary: It will move destructors and operators to the end of completion list. Destructors and operators are currently very high on the completion list, as they have the same priority as member functions. However, they are clearly not something users usually choose in completion lists. Reviewers: arphaman, erikjv, bkramer, krasimir Reviewed By: arphaman Subscribers: eraman, klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D38081 llvm-svn: 314019
* Added CXAvailability_NotAccessible to indicate that a declaration is ↵Erik Verbruggen2011-10-061-0/+89
available, but not accessible from the current code completion context. llvm-svn: 141278
OpenPOWER on IntegriCloud