]> granicus.if.org Git - clang/commit
Minor tweaks for code-completion:
authorDouglas Gregor <dgregor@apple.com>
Fri, 9 Oct 2009 22:16:47 +0000 (22:16 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 9 Oct 2009 22:16:47 +0000 (22:16 +0000)
commitf52cedee8701dca77bcbba5c705b6e388680ae56
treeae58027e7b4ed73f86fbffee820687a162946a94
parent4f089110e383a5b7e5a196c52e5e45d06f9d0754
Minor tweaks for code-completion:
  - Filter out unnamed declarations
  - Filter out declarations whose names are reserved for the
  implementation (e.g., __bar, _Foo)
  - Place OVERLOAD: or COMPLETION: at the beginning of each
  code-completion result, so we can easily separate them from other
  compilation results.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83680 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/CodeCompleteConsumer.cpp
lib/Sema/SemaCodeComplete.cpp