enum CXCodeComplete_Flags

Description

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().

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

Enumerators

NameValueComment
CXCodeComplete_IncludeMacros1Whether to include macros within the set of code completions returned.
CXCodeComplete_IncludeCodePatterns2Whether to include code patterns for language constructs within the set of code completions, e.g., for loops.
CXCodeComplete_IncludeBriefComments4Whether to include brief documentation within the set of code completions returned.
CXCodeComplete_SkipPreamble8Whether 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.
CXCodeComplete_IncludeCompletionsWithFixIts16Whether to include completions with small fix-its, e.g. change '.' to '->' on member access, etc.