Value | Meaning |
---|---|
CXCompletionContext_Unexposed0 | \brief The context for completions is unexposed, as only Clang results should be included. (This is equivalent to having no context bits set.) |
CXCompletionContext_AnyType1 << 0 | \brief Completions for any possible type should be included in the results. |
CXCompletionContext_AnyValue1 << 1 | \brief Completions for any possible value (variables, function calls, etc.) should be included in the results. |
CXCompletionContext_ObjCObjectValue1 << 2 | \brief Completions for values that resolve to an Objective-C object should be included in the results. |
CXCompletionContext_ObjCSelectorValue1 << 3 | \brief Completions for values that resolve to an Objective-C selector should be included in the results. |
CXCompletionContext_CXXClassTypeValue1 << 4 | \brief Completions for values that resolve to a C++ class type should be included in the results. |
CXCompletionContext_DotMemberAccess1 << 5 | \brief Completions for fields of the member being accessed using the dot operator should be included in the results. |
CXCompletionContext_ArrowMemberAccess1 << 6 | \brief Completions for fields of the member being accessed using the arrow operator should be included in the results. |
CXCompletionContext_ObjCPropertyAccess1 << 7 | \brief Completions for properties of the Objective-C object being accessed using the dot operator should be included in the results. |
CXCompletionContext_EnumTag1 << 8 | \brief Completions for enum tags should be included in the results. |
CXCompletionContext_UnionTag1 << 9 | \brief Completions for union tags should be included in the results. |
CXCompletionContext_StructTag1 << 10 | \brief Completions for struct tags should be included in the results. |
CXCompletionContext_ClassTag1 << 11 | \brief Completions for C++ class names should be included in the results. |
CXCompletionContext_Namespace1 << 12 | \brief Completions for C++ namespaces and namespace aliases should be included in the results. |
CXCompletionContext_NestedNameSpecifier1 << 13 | \brief Completions for C++ nested name specifiers should be included in the results. |
CXCompletionContext_ObjCInterface1 << 14 | \brief Completions for Objective-C interfaces (classes) should be included in the results. |
CXCompletionContext_ObjCProtocol1 << 15 | \brief Completions for Objective-C protocols should be included in the results. |
CXCompletionContext_ObjCCategory1 << 16 | \brief Completions for Objective-C categories should be included in the results. |
CXCompletionContext_ObjCInstanceMessage1 << 17 | \brief Completions for Objective-C instance messages should be included in the results. |
CXCompletionContext_ObjCClassMessage1 << 18 | \brief Completions for Objective-C class messages should be included in the results. |
CXCompletionContext_ObjCSelectorName1 << 19 | \brief Completions for Objective-C selector names should be included in the results. |
CXCompletionContext_MacroName1 << 20 | \brief Completions for preprocessor macro names should be included in the results. |
CXCompletionContext_NaturalLanguage1 << 21 | \brief Natural language completions should be included in the results. |
CXCompletionContext_Unknown((1 << 22) - 1) | \brief The current context is unknown, so set all contexts. |
\brief Bits that represent the context under which completion is occurring.
The enumerators in this enumeration may be bitwise-OR'd together if multiple contexts are occurring simultaneously.