clang: clang::CodeCompleteOptions Class Reference (original) (raw)
Options controlling the behavior of code completion. More...
#include "[clang/Sema/CodeCompleteOptions.h](CodeCompleteOptions%5F8h%5Fsource.html)"
Public Attributes | |
---|---|
unsigned | IncludeMacros: 1 |
Show macros in code completion results. | |
unsigned | IncludeCodePatterns: 1 |
Show code patterns in code completion results. | |
unsigned | IncludeGlobals: 1 |
Show top-level decls in code completion results. | |
unsigned | IncludeNamespaceLevelDecls: 1 |
Show decls in namespace (including the global namespace) in code completion results. | |
unsigned | IncludeBriefComments: 1 |
Show brief documentation comments in code completion results. | |
unsigned | LoadExternal: 1 |
Hint whether to load data from the external AST to provide full results. | |
unsigned | IncludeFixIts: 1 |
Include results after corrections (small fix-its), e.g. | |
Options controlling the behavior of code completion.
Definition at line 17 of file CodeCompleteOptions.h.
clang::CodeCompleteOptions::CodeCompleteOptions ( ) | inline |
---|
◆ IncludeBriefComments
unsigned clang::CodeCompleteOptions::IncludeBriefComments
◆ IncludeCodePatterns
unsigned clang::CodeCompleteOptions::IncludeCodePatterns
◆ IncludeFixIts
unsigned clang::CodeCompleteOptions::IncludeFixIts
◆ IncludeGlobals
unsigned clang::CodeCompleteOptions::IncludeGlobals
◆ IncludeMacros
unsigned clang::CodeCompleteOptions::IncludeMacros
◆ IncludeNamespaceLevelDecls
unsigned clang::CodeCompleteOptions::IncludeNamespaceLevelDecls
Show decls in namespace (including the global namespace) in code completion results.
If this is 0, IncludeGlobals
will be ignored.
Currently, this only works when completing qualified IDs (i.e. Sema::CodeCompleteQualifiedId
). FIXME: consider supporting more completion cases with this option.
Definition at line 38 of file CodeCompleteOptions.h.
Referenced by clang::CodeCompleteConsumer::includeNamespaceLevelDecls().
◆ LoadExternal
unsigned clang::CodeCompleteOptions::LoadExternal
The documentation for this class was generated from the following file:
- include/clang/Sema/CodeCompleteOptions.h