aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Sema/CodeCompleteConsumer.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-09-18 15:51:54 +0000
committerDouglas Gregor <dgregor@apple.com>2009-09-18 15:51:54 +0000
commitb1c28a1f7ef3bd3616df6ddcdb503f4b480a8df6 (patch)
treef370f1020f5827ae4966cd982a250d71d0daa379 /include/clang/Sema/CodeCompleteConsumer.h
parent374929f7e88f6c7a96382b3eb4201b721c418372 (diff)
When gathering results for code completion, only include hidden
results when there is some way to refer to them in the language, such as with a qualified name in C++. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82223 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/CodeCompleteConsumer.h')
-rw-r--r--include/clang/Sema/CodeCompleteConsumer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/clang/Sema/CodeCompleteConsumer.h b/include/clang/Sema/CodeCompleteConsumer.h
index 0da5541c3d..425a937a93 100644
--- a/include/clang/Sema/CodeCompleteConsumer.h
+++ b/include/clang/Sema/CodeCompleteConsumer.h
@@ -204,6 +204,14 @@ public:
bool IsClassOrStruct(NamedDecl *ND) const;
bool IsUnion(NamedDecl *ND) const;
//@}
+
+ /// \name Utility functions
+ ///
+ //@{
+
+ bool canHiddenResultBeFound(NamedDecl *Hidden, NamedDecl *Visible);
+
+ //@}
};
/// \brief A simple code-completion consumer that prints the results it