diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-08-23 18:23:48 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-08-23 18:23:48 +0000 |
commit | 2ccccb3ff40c64927817a7e1ddf1da8c188ed224 (patch) | |
tree | 6a7aba2f7c54a63a3b04909c181fad25c18a89df /include/clang/Sema/CodeCompleteConsumer.h | |
parent | 5d743fa747281dbecbc0d557035ca44f8a26a342 (diff) |
Introduce a new code-completion point when we're parsing a
declarator. Here, we can only see a few things (e.g., cvr-qualifiers,
nested name specifiers) and we do not want to provide other non-macro
completions. Previously, we would end up in recovery mode and would
provide a large number of non-relevant completions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/CodeCompleteConsumer.h')
-rw-r--r-- | include/clang/Sema/CodeCompleteConsumer.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/clang/Sema/CodeCompleteConsumer.h b/include/clang/Sema/CodeCompleteConsumer.h index 82ea46c290..aadc4592f2 100644 --- a/include/clang/Sema/CodeCompleteConsumer.h +++ b/include/clang/Sema/CodeCompleteConsumer.h @@ -164,7 +164,12 @@ public: /// is expected. CCC_Namespace, /// \brief Code completion occurred where a type name is expected. - CCC_Type + CCC_Type, + /// \brief Code completion occurred where a new name is expected. + CCC_Name, + /// \brief Code completion occurred where a new name is expected and a + /// qualified name is permissible. + CCC_PotentiallyQualifiedName }; private: |