enum CXCompletionContext

Description

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.

Declared at: clang/include/clang-c/Index.h:5673

Enumerators

NameValueComment
CXCompletionContext_Unexposed0The context for completions is unexposed, as only Clang results should be included. (This is equivalent to having no context bits set.)
CXCompletionContext_AnyType1Completions for any possible type should be included in the results.
CXCompletionContext_AnyValue2Completions for any possible value (variables, function calls, etc.) should be included in the results.
CXCompletionContext_ObjCObjectValue4Completions for values that resolve to an Objective-C object should be included in the results.
CXCompletionContext_ObjCSelectorValue8Completions for values that resolve to an Objective-C selector should be included in the results.
CXCompletionContext_CXXClassTypeValue16Completions for values that resolve to a C++ class type should be included in the results.
CXCompletionContext_DotMemberAccess32Completions for fields of the member being accessed using the dot operator should be included in the results.
CXCompletionContext_ArrowMemberAccess64Completions for fields of the member being accessed using the arrow operator should be included in the results.
CXCompletionContext_ObjCPropertyAccess128Completions for properties of the Objective-C object being accessed using the dot operator should be included in the results.
CXCompletionContext_EnumTag256Completions for enum tags should be included in the results.
CXCompletionContext_UnionTag512Completions for union tags should be included in the results.
CXCompletionContext_StructTag1024Completions for struct tags should be included in the results.
CXCompletionContext_ClassTag2048Completions for C++ class names should be included in the results.
CXCompletionContext_Namespace4096Completions for C++ namespaces and namespace aliases should be included in the results.
CXCompletionContext_NestedNameSpecifier8192Completions for C++ nested name specifiers should be included in the results.
CXCompletionContext_ObjCInterface16384Completions for Objective-C interfaces (classes) should be included in the results.
CXCompletionContext_ObjCProtocol32768Completions for Objective-C protocols should be included in the results.
CXCompletionContext_ObjCCategory65536Completions for Objective-C categories should be included in the results.
CXCompletionContext_ObjCInstanceMessage131072Completions for Objective-C instance messages should be included in the results.
CXCompletionContext_ObjCClassMessage262144Completions for Objective-C class messages should be included in the results.
CXCompletionContext_ObjCSelectorName524288Completions for Objective-C selector names should be included in the results.
CXCompletionContext_MacroName1048576Completions for preprocessor macro names should be included in the results.
CXCompletionContext_NaturalLanguage2097152Natural language completions should be included in the results.
CXCompletionContext_IncludedFile4194304#include file completions should be included in the results.
CXCompletionContext_Unknown8388607The current context is unknown, so set all contexts.