[PATCH] D38081: Set completion priority of destructors and operators to CCP_Unlikely.

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 20 07:11:59 PDT 2017


ilya-biryukov created this revision.
Herald added a subscriber: eraman.

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.


https://reviews.llvm.org/D38081

Files:
  lib/Sema/SemaCodeComplete.cpp
  test/Index/complete-access-checks.cpp
  test/Index/complete-cxx-inline-methods.cpp
  test/Index/complete-qualified.cpp
  test/Index/complete-with-annotations.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38081.115996.patch
Type: text/x-patch
Size: 8912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170920/bc736773/attachment-0001.bin>


More information about the cfe-commits mailing list