CXCompletionContext

\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.

Values

ValueMeaning
unexposed0

\brief The context for completions is unexposed, as only Clang results should be included. (This is equivalent to having no context bits set.)

anyType1

\brief Completions for any possible type should be included in the results.

anyValue2

\brief Completions for any possible value (variables, function calls, etc.) should be included in the results.

objCObjectValue4

\brief Completions for values that resolve to an Objective-C object should be included in the results.

objCSelectorValue8

\brief Completions for values that resolve to an Objective-C selector should be included in the results.

cxxClassTypeValue16

\brief Completions for values that resolve to a C++ class type should be included in the results.

dotMemberAccess32

\brief Completions for fields of the member being accessed using the dot operator should be included in the results.

arrowMemberAccess64

\brief Completions for fields of the member being accessed using the arrow operator should be included in the results.

objCPropertyAccess128

\brief Completions for properties of the Objective-C object being accessed using the dot operator should be included in the results.

enumTag256

\brief Completions for enum tags should be included in the results.

unionTag512

\brief Completions for union tags should be included in the results.

structTag1024

\brief Completions for struct tags should be included in the results.

classTag2048

\brief Completions for C++ class names should be included in the results.

namespace4096

\brief Completions for C++ namespaces and namespace aliases should be included in the results.

nestedNameSpecifier8192

\brief Completions for C++ nested name specifiers should be included in the results.

objCInterface16384

\brief Completions for Objective-C interfaces (classes) should be included in the results.

objCProtocol32768

\brief Completions for Objective-C protocols should be included in the results.

objCCategory65536

\brief Completions for Objective-C categories should be included in the results.

objCInstanceMessage131072

\brief Completions for Objective-C instance messages should be included in the results.

objCClassMessage262144

\brief Completions for Objective-C class messages should be included in the results.

objCSelectorName524288

\brief Completions for Objective-C selector names should be included in the results.

macroName1048576

\brief Completions for preprocessor macro names should be included in the results.

naturalLanguage2097152

\brief Natural language completions should be included in the results.

unknown4194303

\brief The current context is unknown, so set all contexts.

Meta