clang API Documentation

Public Attributes
clang::ASTUnit::CachedCodeCompletionResult Struct Reference

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

#include <ASTUnit.h>

Collaboration diagram for clang::ASTUnit::CachedCodeCompletionResult:
Collaboration graph
[legend]

List of all members.

Public Attributes

CodeCompletionStringCompletion
 The code-completion string corresponding to this completion result.
uint64_t ShowInContexts
 A bitmask that indicates which code-completion contexts should contain this completion result.
unsigned Priority
 The priority given to this code-completion result.
CXCursorKind Kind
 The libclang cursor kind corresponding to this code-completion result.
CXAvailabilityKind Availability
 The availability of this code-completion result.
SimplifiedTypeClass TypeClass
 The simplified type class for a non-macro completion result.
unsigned Type
 The type of a non-macro completion result, stored as a unique integer used by the string map of cached completion types.

Detailed Description

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

Definition at line 321 of file ASTUnit.h.


Member Data Documentation

The availability of this code-completion result.

Definition at line 343 of file ASTUnit.h.

The code-completion string corresponding to this completion result.

Definition at line 324 of file ASTUnit.h.

The libclang cursor kind corresponding to this code-completion result.

Definition at line 340 of file ASTUnit.h.

The priority given to this code-completion result.

Definition at line 336 of file ASTUnit.h.

A bitmask that indicates which code-completion contexts should contain this completion result.

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.

Definition at line 333 of file ASTUnit.h.

The type of a non-macro completion result, stored as a unique integer used by the string map of cached completion types.

This value will be zero if the type is not known, or a unique value determined by the formatted type string. Se CachedCompletionTypes for more information.

Definition at line 354 of file ASTUnit.h.

The simplified type class for a non-macro completion result.

Definition at line 346 of file ASTUnit.h.


The documentation for this struct was generated from the following file: