Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Douglas Gregor 8ec904c151 Tweak code-completion result priorities, so that exact and similar
type matches have a bigger impact. The impetus for this change was
that, when initializing an enumeration value, we want enumerators of
that enumeration type to have a higher priority than, e.g., unrelated
local variables.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116774 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-19 00:03:23 +00:00
Douglas Gregor e396c7bd99 When collecting Objective-C methods for message send completions, be
sure to visit the protocols of protocols.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114079 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-16 15:34:59 +00:00
Douglas Gregor 265f749edb When code-completing inside an Objective-C method, give a slight
priority boost to methods with the same selector. 


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112268 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-27 15:29:55 +00:00
Douglas Gregor 22f569918d When sending a message to "id", apply some heuristics to try to narrow
down the set of code-completion results based on Objective-C
conventions. 


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100548 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-06 19:22:33 +00:00