clang API Documentation
A cached code-completion result, which may be introduced in one of many different contexts. More...
#include <ASTUnit.h>
Public Attributes | |
CodeCompletionString * | Completion |
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. |
A cached code-completion result, which may be introduced in one of many different contexts.
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.
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.