|
enum | {
clang::CCP_NextInitializer = 7
, clang::CCP_EnumInCase = 7
, clang::CCP_SuperCompletion = 20
, clang::CCP_LocalDeclaration = 34
,
clang::CCP_MemberDeclaration = 35
, clang::CCP_Keyword = 40
, clang::CCP_CodePattern = 40
, clang::CCP_Declaration = 50
,
clang::CCP_Type = CCP_Declaration
, clang::CCP_Constant = 65
, clang::CCP_Macro = 70
, clang::CCP_NestedNameSpecifier = 75
,
clang::CCP_Unlikely = 80
, clang::CCP_ObjC_cmd = CCP_Unlikely
} |
| Default priority values for code-completion results based on their kind. More...
|
|
enum | {
clang::CCD_InBaseClass = 2
, clang::CCD_ObjectQualifierMatch = -1
, clang::CCD_SelectorMatch = -3
, clang::CCD_bool_in_ObjC = 1
,
clang::CCD_ProbablyNotObjCCollection = 15
, clang::CCD_MethodAsProperty = 2
, clang::CCD_BlockPropertySetter = 3
} |
| Priority value deltas that are added to code-completion results based on the context of the result. More...
|
|
enum | { clang::CCF_ExactTypeMatch = 4
, clang::CCF_SimilarTypeMatch = 2
} |
| Priority value factors by which we will divide or multiply the priority of a code-completion result. More...
|
|
enum | clang::SimplifiedTypeClass {
clang::STC_Arithmetic
, clang::STC_Array
, clang::STC_Block
, clang::STC_Function
,
clang::STC_ObjectiveC
, clang::STC_Other
, clang::STC_Pointer
, clang::STC_Record
,
clang::STC_Void
} |
| A simplified classification of types used when determining "similar" types for code completion. More...
|
|
|
SimplifiedTypeClass | clang::getSimplifiedTypeClass (CanQualType T) |
| Determine the simplified type class of the given canonical type.
|
|
QualType | clang::getDeclUsageType (ASTContext &C, const NamedDecl *ND) |
| Determine the type that this declaration will have if it is used as a type or in an expression.
|
|
unsigned | clang::getMacroUsagePriority (StringRef MacroName, const LangOptions &LangOpts, bool PreferredTypeIsPointer=false) |
| Determine the priority to be given to a macro code completion result with the given name.
|
|
CXCursorKind | clang::getCursorKindForDecl (const Decl *D) |
| Determine the libclang cursor kind associated with the given declaration.
|
|
llvm::StringRef | clang::getCompletionKindString (CodeCompletionContext::Kind Kind) |
| Get string representation of Kind , useful for debugging.
|
|
bool | clang::operator< (const CodeCompletionResult &X, const CodeCompletionResult &Y) |
|
bool | clang::operator> (const CodeCompletionResult &X, const CodeCompletionResult &Y) |
|
bool | clang::operator<= (const CodeCompletionResult &X, const CodeCompletionResult &Y) |
|
bool | clang::operator>= (const CodeCompletionResult &X, const CodeCompletionResult &Y) |
|
const RawComment * | clang::getCompletionComment (const ASTContext &Ctx, const NamedDecl *Decl) |
| Get the documentation comment used to produce CodeCompletionString::BriefComment for RK_Declaration.
|
|
const RawComment * | clang::getPatternCompletionComment (const ASTContext &Ctx, const NamedDecl *Decl) |
| Get the documentation comment used to produce CodeCompletionString::BriefComment for RK_Pattern.
|
|
const RawComment * | clang::getParameterComment (const ASTContext &Ctx, const CodeCompleteConsumer::OverloadCandidate &Result, unsigned ArgIndex) |
| Get the documentation comment used to produce CodeCompletionString::BriefComment for OverloadCandidate.
|
|