clang API Documentation

Public Attributes
CXCompletionResult Struct Reference

A single result of code completion. More...

#include <Index.h>

Collaboration diagram for CXCompletionResult:
Collaboration graph
[legend]

List of all members.

Public Attributes

enum CXCursorKind CursorKind
 The kind of entity that this completion refers to.
CXCompletionString CompletionString
 The code-completion string that describes how to insert this code-completion result into the editing buffer.

Detailed Description

A single result of code completion.

Definition at line 4229 of file Index.h.


Member Data Documentation

The code-completion string that describes how to insert this code-completion result into the editing buffer.

Definition at line 4246 of file Index.h.

The kind of entity that this completion refers to.

The cursor kind will be a macro, keyword, or a declaration (one of the *Decl cursor kinds), describing the entity that the completion is referring to.

Todo:
In the future, we would like to provide a full cursor, to allow the client to extract additional information from declaration.

Definition at line 4240 of file Index.h.


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