OverloadCandidate - A single candidate in an overload set (C++ 13.3). More...
#include "clang/Sema/Overload.h"
OverloadCandidate - A single candidate in an overload set (C++ 13.3).
Definition at line 872 of file Overload.h.
◆ getNumParams() unsigned clang::OverloadCandidate::getNumParams ( ) const inline ◆ getRewriteKind() ◆ hasAmbiguousConversion() bool clang::OverloadCandidate::hasAmbiguousConversion ( ) const inlinehasAmbiguousConversion - Returns whether this overload candidate requires an ambiguous conversion or not.
Definition at line 974 of file Overload.h.
References clang::C, and Conversions.
◆ isReversed() bool clang::OverloadCandidate::isReversed ( ) const inline ◆ NotValidBecauseConstraintExprHasError() bool OverloadCandidate::NotValidBecauseConstraintExprHasError ( ) const ◆ TryToFixBadConversion() ◆ OverloadCandidateSet ◆ union { ... } clang::OverloadCandidate::@242 ◆ BestWhether this candidate is the best viable function, or tied for being the best viable function.
For an ambiguous overload resolution, indicates whether this candidate was part of the ambiguity kernel: the minimal non-empty set of viable candidates such that all elements of the ambiguity kernel are better than all viable candidates not in the ambiguity kernel.
Definition at line 912 of file Overload.h.
Referenced by clang::OverloadCandidateSet::BestViableFunction().
◆ BuiltinParamTypes QualType clang::OverloadCandidate::BuiltinParamTypes[3] ◆ ConversionsThe conversion sequences used to convert the function arguments to the function parameters.
Note that these are indexed by argument, so may not match the parameter order of Function.
Definition at line 895 of file Overload.h.
Referenced by clang::Sema::AddBuiltinCandidate(), clang::Sema::AddConversionCandidate(), clang::Sema::AddMethodCandidate(), clang::Sema::AddOverloadCandidate(), clang::Sema::AddSurrogateCandidate(), CompleteNonViableCandidate(), DiagnoseBadConversion(), hasAmbiguousConversion(), clang::isBetterOverloadCandidate(), NoteAmbiguousUserConversions(), NoteBuiltinOperatorCandidate(), NoteFunctionCandidate(), clang::Sema::PerformCopyInitialization(), and TryToFixBadConversion().
◆ DeductionFailure ◆ ExplicitCallArguments unsigned clang::OverloadCandidate::ExplicitCallArgumentsThe number of call arguments that were explicitly provided, to be used while performing partial ordering of function templates.
Definition at line 952 of file Overload.h.
Referenced by clang::Sema::AddBuiltinCandidate(), clang::Sema::AddConversionCandidate(), clang::Sema::AddMethodCandidate(), clang::Sema::AddMethodTemplateCandidate(), clang::Sema::AddOverloadCandidate(), clang::Sema::AddSurrogateCandidate(), clang::Sema::AddTemplateConversionCandidate(), clang::Sema::AddTemplateOverloadCandidate(), getNumParams(), and clang::isBetterOverloadCandidate().
◆ FailureKind unsigned char clang::OverloadCandidate::FailureKindFailureKind - The reason why this candidate is not viable.
Actually an OverloadFailureKind.
Definition at line 948 of file Overload.h.
Referenced by clang::Sema::AddBuiltinCandidate(), clang::Sema::AddConversionCandidate(), clang::Sema::AddMethodCandidate(), clang::Sema::AddMethodTemplateCandidate(), clang::Sema::AddOverloadCandidate(), clang::Sema::AddSurrogateCandidate(), clang::Sema::AddTemplateConversionCandidate(), clang::Sema::AddTemplateOverloadCandidate(), clang::Sema::BuildCallToObjectOfClassType(), CheckArityMismatch(), CompleteNonViableCandidate(), NoteFunctionCandidate(), NoteSurrogateCandidate(), and clang::Sema::PerformCopyInitialization().
◆ FinalConversion ◆ Fix ◆ FoundDeclFoundDecl - The original declaration that was looked up / invented / otherwise found, together with its access.
Might be a UsingShadowDecl or a FunctionTemplateDecl.
Definition at line 882 of file Overload.h.
Referenced by clang::Sema::AddBuiltinCandidate(), clang::Sema::AddConversionCandidate(), clang::Sema::AddMethodCandidate(), clang::Sema::AddMethodTemplateCandidate(), clang::Sema::AddOverloadCandidate(), clang::Sema::AddSurrogateCandidate(), clang::Sema::AddTemplateConversionCandidate(), clang::Sema::AddTemplateOverloadCandidate(), DiagnoseArityMismatch(), DiagnoseBadConversion(), DiagnoseBadDeduction(), DiagnoseBadTarget(), clang::isBetterOverloadCandidate(), and NoteFunctionCandidate().
◆ FunctionFunction - The actual function that this candidate represents.
When NULL, this is a built-in candidate (C++ [over.oper]) or a surrogate for a conversion to a function pointer or reference (C++ [over.call.object]).
Definition at line 877 of file Overload.h.
Referenced by clang::Sema::AddBuiltinCandidate(), clang::Sema::AddConversionCandidate(), clang::Sema::AddMethodCandidate(), clang::Sema::AddMethodTemplateCandidate(), clang::Sema::AddOverloadCandidate(), clang::Sema::AddSurrogateCandidate(), clang::Sema::AddTemplateConversionCandidate(), clang::Sema::AddTemplateOverloadCandidate(), clang::OverloadCandidateSet::BestViableFunction(), CheckArityMismatch(), CompleteNonViableCandidate(), DiagnoseArityMismatch(), DiagnoseBadConversion(), DiagnoseBadDeduction(), DiagnoseBadTarget(), DiagnoseFailedEnableIfAttr(), DiagnoseFailedExplicitSpec(), GetLocationForCandidate(), getNumParams(), isBetterMultiversionCandidate(), clang::isBetterOverloadCandidate(), clang::OverloadCandidateSet::NoteCandidates(), NoteFunctionCandidate(), and sameFunctionParameterTypeLists().
◆ HasMatchedPackOnParmToNonPackOnArg bool clang::OverloadCandidate::HasMatchedPackOnParmToNonPackOnArg ◆ IgnoreObjectArgument unsigned clang::OverloadCandidate::IgnoreObjectArgument ◆ IsADLCandidate unsigned clang::OverloadCandidate::IsADLCandidate ◆ IsSurrogate unsigned clang::OverloadCandidate::IsSurrogate ◆ RewriteKind unsigned clang::OverloadCandidate::RewriteKind ◆ Surrogate ◆ TookAddressOfOverload unsigned clang::OverloadCandidate::TookAddressOfOverload ◆ Viable unsigned clang::OverloadCandidate::ViableViable - True to indicate that this overload candidate is viable.
Definition at line 902 of file Overload.h.
Referenced by clang::Sema::AddBuiltinCandidate(), clang::Sema::AddConversionCandidate(), clang::Sema::AddMethodCandidate(), clang::Sema::AddMethodTemplateCandidate(), clang::Sema::AddOverloadCandidate(), clang::Sema::AddSurrogateCandidate(), clang::Sema::AddTemplateConversionCandidate(), clang::Sema::AddTemplateOverloadCandidate(), clang::OverloadCandidateSet::BestViableFunction(), clang::Sema::BuildCallToObjectOfClassType(), CompleteNonViableCandidate(), clang::isBetterOverloadCandidate(), clang::OverloadCandidateSet::NoteCandidates(), NoteFunctionCandidate(), NoteSurrogateCandidate(), and clang::Sema::PerformCopyInitialization().
The documentation for this struct was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4