]> granicus.if.org Git - clang/commit
Improve code-completion results for the flags in an @property
authorDouglas Gregor <dgregor@apple.com>
Thu, 19 Nov 2009 00:01:57 +0000 (00:01 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 19 Nov 2009 00:01:57 +0000 (00:01 +0000)
commit54f016150acf7e0d4dab702d3d7d5e40ba1fdebf
tree34a90e4d62a3d07fc1524116f1c525c6f7751244
parent10324db994455a9a1520be6cfe5bb29685cde141
Improve code-completion results for the flags in an @property
declaration by providing patterns for "getter = <method>" and "setter
= <method>". As part of this, invented a new "pattern" result kind
that is merely a semantic string. The "pattern" result kind should
help with other kinds of code templates.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89277 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/CodeCompleteConsumer.h
lib/Sema/CodeCompleteConsumer.cpp
lib/Sema/SemaCodeComplete.cpp
test/CodeCompletion/property.m [deleted file]
test/Index/complete-property-flags.m [new file with mode: 0644]