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
Name | Value | Comment |
---|---|---|
CXCodeComplete_IncludeMacros | 1 | Whether to include macros within the set of code completions returned. |
CXCodeComplete_IncludeCodePatterns | 2 | Whether to include code patterns for language constructs within the set of code completions, e.g., for loops. |
CXCodeComplete_IncludeBriefComments | 4 | Whether to include brief documentation within the set of code completions returned. |
CXCodeComplete_SkipPreamble | 8 | 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. |
CXCodeComplete_IncludeCompletionsWithFixIts | 16 | Whether to include completions with small fix-its, e.g. change '.' to '->' on member access, etc. |