CXCodeComplete_Flags

Flags that can be passed to \c clang_codeCompleteAt() to modify its behavior.

The enumerators in this enumeration can be bitwise-OR'd together to provide multiple options to \c clang_codeCompleteAt().

Values

ValueMeaning
includeMacros0x01

Whether to include macros within the set of code completions returned.

includeCodePatterns0x02

Whether to include code patterns for language constructs within the set of code completions, e.g., for loops.

includeBriefComments0x04

Whether to include brief documentation within the set of code completions returned.

skipPreamble0x08

Whether to speed up completion by omitting top- or namespace-level entities defined in the preamble. There's no guarantee any particular entity is omitted. This may be useful if the headers are indexed externally.

includeCompletionsWithFixIts0x10

Whether to include completions with small fix-its, e.g. change '.' to '->' on member access, etc.

Meta