class CodeCompleteConsumer::OverloadCandidate
Declaration
class CodeCompleteConsumer::OverloadCandidate { /* full declaration omitted */ };
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1008
Member Variables
- private clang::CodeCompleteConsumer::OverloadCandidate:: CandidateKind Kind
- The kind of overload candidate.
- private anonymous struct / union
Method Overview
- public clang::CodeCompletionString * CreateSignatureString(unsigned int CurrentArg, clang::Sema & S, clang::CodeCompletionAllocator & Allocator, clang::CodeCompletionTUInfo & CCTUInfo, bool IncludeBriefComments, bool Braced) const
- public OverloadCandidate(clang::FunctionTemplateDecl * FunctionTemplateDecl)
- public OverloadCandidate(const clang::TemplateDecl * Template)
- public OverloadCandidate(const clang::RecordDecl * Aggregate)
- public OverloadCandidate(clang::FunctionProtoTypeLoc Prototype)
- public OverloadCandidate(const clang::FunctionType * Type)
- public OverloadCandidate(clang::FunctionDecl * Function)
- public const clang::RecordDecl * getAggregate() const
- public clang::FunctionDecl * getFunction() const
- public const clang::FunctionProtoTypeLoc getFunctionProtoTypeLoc() const
- public clang::FunctionTemplateDecl * getFunctionTemplate() const
- public const clang::FunctionType * getFunctionType() const
- public clang::CodeCompleteConsumer::OverloadCandidate::CandidateKind getKind() const
- public unsigned int getNumParams() const
- public const clang::NamedDecl * getParamDecl(unsigned int N) const
- public clang::QualType getParamType(unsigned int N) const
- public const clang::TemplateDecl * getTemplate() const
Methods
¶clang::CodeCompletionString*
CreateSignatureString(
unsigned int CurrentArg,
clang::Sema& S,
clang::CodeCompletionAllocator& Allocator,
clang::CodeCompletionTUInfo& CCTUInfo,
bool IncludeBriefComments,
bool Braced) const
clang::CodeCompletionString*
CreateSignatureString(
unsigned int CurrentArg,
clang::Sema& S,
clang::CodeCompletionAllocator& Allocator,
clang::CodeCompletionTUInfo& CCTUInfo,
bool IncludeBriefComments,
bool Braced) const
Description
Create a new code-completion string that describes the function signature of this overload candidate.
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1139
Parameters
- unsigned int CurrentArg
- clang::Sema& S
- clang::CodeCompletionAllocator& Allocator
- clang::CodeCompletionTUInfo& CCTUInfo
- bool IncludeBriefComments
- bool Braced
¶OverloadCandidate(clang::FunctionTemplateDecl*
FunctionTemplateDecl)
OverloadCandidate(clang::FunctionTemplateDecl*
FunctionTemplateDecl)
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1069
Parameters
- clang::FunctionTemplateDecl* FunctionTemplateDecl
¶OverloadCandidate(
const clang::TemplateDecl* Template)
OverloadCandidate(
const clang::TemplateDecl* Template)
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1089
Parameters
- const clang::TemplateDecl* Template
¶OverloadCandidate(
const clang::RecordDecl* Aggregate)
OverloadCandidate(
const clang::RecordDecl* Aggregate)
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1084
Parameters
- const clang::RecordDecl* Aggregate
¶OverloadCandidate(
clang::FunctionProtoTypeLoc Prototype)
OverloadCandidate(
clang::FunctionProtoTypeLoc Prototype)
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1079
Parameters
- clang::FunctionProtoTypeLoc Prototype
¶OverloadCandidate(const clang::FunctionType* Type)
OverloadCandidate(const clang::FunctionType* Type)
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1074
Parameters
- const clang::FunctionType* Type
¶OverloadCandidate(clang::FunctionDecl* Function)
OverloadCandidate(clang::FunctionDecl* Function)
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1064
Parameters
- clang::FunctionDecl* Function
¶const clang::RecordDecl* getAggregate() const
const clang::RecordDecl* getAggregate() const
Description
Retrieve the aggregate type being initialized.
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1120
¶clang::FunctionDecl* getFunction() const
clang::FunctionDecl* getFunction() const
Description
Retrieve the function overload candidate or the templated function declaration for a function template.
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1097
¶const clang::FunctionProtoTypeLoc
getFunctionProtoTypeLoc() const
const clang::FunctionProtoTypeLoc
getFunctionProtoTypeLoc() const
Description
Retrieve the function ProtoTypeLoc candidate. This can be called for any Kind, but returns null for kinds other than CK_FunctionProtoTypeLoc.
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1112
¶clang::FunctionTemplateDecl* getFunctionTemplate()
const
clang::FunctionTemplateDecl* getFunctionTemplate()
const
Description
Retrieve the function template overload candidate.
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1100
¶const clang::FunctionType* getFunctionType() const
const clang::FunctionType* getFunctionType() const
Description
Retrieve the function type of the entity, regardless of how the function is stored.
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1107
¶clang::CodeCompleteConsumer::OverloadCandidate::
CandidateKind
getKind() const
clang::CodeCompleteConsumer::OverloadCandidate::
CandidateKind
getKind() const
Description
Determine the kind of overload candidate.
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1093
¶unsigned int getNumParams() const
unsigned int getNumParams() const
Description
Get the number of parameters in this signature.
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1126
¶const clang::NamedDecl* getParamDecl(
unsigned int N) const
const clang::NamedDecl* getParamDecl(
unsigned int N) const
Description
Get the declaration of the Nth parameter. Returns null if the decl is unknown or N is out of range.
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1134
Parameters
- unsigned int N
¶clang::QualType getParamType(unsigned int N) const
clang::QualType getParamType(unsigned int N) const
Description
Get the type of the Nth parameter. Returns null if the type is unknown or N is out of range.
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1130
Parameters
- unsigned int N
¶const clang::TemplateDecl* getTemplate() const
const clang::TemplateDecl* getTemplate() const
Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:1114