struct ASTUnit::CachedCodeCompletionResult

Declaration

struct ASTUnit::CachedCodeCompletionResult { /* full declaration omitted */ };

Description

A cached code-completion result, which may be introduced in one of many different contexts.

Declared at: clang/include/clang/Frontend/ASTUnit.h:268

Member Variables

public clang::CodeCompletionString* Completion
The code-completion string corresponding to this completion result.
public uint64_t ShowInContexts
The bits in the bitmask correspond to the values of CodeCompleteContext::Kind. To map from a completion context kind to a bit, shift 1 by that number of bits. Many completions can occur in several different contexts.
public unsigned int Priority
The priority given to this code-completion result.
public CXCursorKind Kind
The libclang cursor kind corresponding to this code-completion result.
public CXAvailabilityKind Availability
The availability of this code-completion result.
public clang::SimplifiedTypeClass TypeClass
The simplified type class for a non-macro completion result.
public unsigned int Type
This value will be zero if the type is not known, or a unique value determined by the formatted type string. Se \c CachedCompletionTypes for more information.