]> granicus.if.org Git - clang/commit
Introduce four new code-completion hooks for C++:
authorDouglas Gregor <dgregor@apple.com>
Fri, 18 Sep 2009 19:03:04 +0000 (19:03 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 18 Sep 2009 19:03:04 +0000 (19:03 +0000)
commit49f40bd0c9c9de5e74727774fec429b47d36303a
tree4ff8ee97f177b7a7b080e1757932437ec6c1702b
parent2744a063f1d9c475d76c2276f0b4f0998dfc5d09
Introduce four new code-completion hooks for C++:

  - after "using", show anything that can be a nested-name-specifier.
  - after "using namespace", show any visible namespaces or namespace aliases
  - after "namespace", show any namespace definitions in the current scope
  - after "namespace identifier = ", show any visible namespaces or
    namespace aliases

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82251 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Action.h
include/clang/Sema/CodeCompleteConsumer.h
lib/Parse/ParseDeclCXX.cpp
lib/Sema/CodeCompleteConsumer.cpp
lib/Sema/Sema.h
lib/Sema/SemaCodeComplete.cpp
test/CodeCompletion/namespace-alias.cpp [new file with mode: 0644]
test/CodeCompletion/namespace.cpp [new file with mode: 0644]
test/CodeCompletion/using-namespace.cpp [new file with mode: 0644]
test/CodeCompletion/using.cpp [new file with mode: 0644]