class CodeCompleteOptions

Declaration

class CodeCompleteOptions { /* full declaration omitted */ };

Description

Options controlling the behavior of code completion.

Declared at: clang/include/clang/Sema/CodeCompleteOptions.h:15

Member Variables

public unsigned int IncludeMacros
Show macros in code completion results.
public unsigned int IncludeCodePatterns
Show code patterns in code completion results.
public unsigned int IncludeGlobals
Show top-level decls in code completion results.
public unsigned int IncludeNamespaceLevelDecls
Currently, this only works when completing qualified IDs (i.e. `Sema::CodeCompleteQualifiedId`). FIXME: consider supporting more completion cases with this option.
public unsigned int IncludeBriefComments
Show brief documentation comments in code completion results.
public unsigned int LoadExternal
Hint whether to load data from the external AST to provide full results. If false, namespace-level declarations and macros from the preamble may be omitted.
public unsigned int IncludeFixIts
Include results after corrections (small fix-its), e.g. change '.' to '->' on member access, etc.

Method Overview

Methods

ΒΆCodeCompleteOptions()

Declared at: clang/include/clang/Sema/CodeCompleteOptions.h:46