aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Sema/CodeCompleteConsumer.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-09-21 16:06:22 +0000
committerDouglas Gregor <dgregor@apple.com>2010-09-21 16:06:22 +0000
commit6f942b2cabf32b96f9901b889d8e44a34e0e7c62 (patch)
tree7bb74e2ffe505aeb68dcf56a5bc00e99ad9369d7 /include/clang/Sema/CodeCompleteConsumer.h
parent3475cfeebe00908af47396d5a055237a0ad7cb8d (diff)
Add code completion for C++ constructors wherever we see the class (or
class template) and are in a context where we can have a value. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114441 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/CodeCompleteConsumer.h')
-rw-r--r--include/clang/Sema/CodeCompleteConsumer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Sema/CodeCompleteConsumer.h b/include/clang/Sema/CodeCompleteConsumer.h
index d9014f13ea..85f3c91649 100644
--- a/include/clang/Sema/CodeCompleteConsumer.h
+++ b/include/clang/Sema/CodeCompleteConsumer.h
@@ -256,6 +256,10 @@ public:
/// \brief Retrieve the type of the base object in a member-access
/// expression.
QualType getBaseType() const { return BaseType; }
+
+ /// \brief Determines whether we want C++ constructors as results within this
+ /// context.
+ bool wantConstructorResults() const;
};