class TemplateSpecCandidateSet
Declaration
class TemplateSpecCandidateSet { /* full declaration omitted */ };
Description
TemplateSpecCandidateSet - A set of generalized overload candidates, used in template specializations. TODO: In the future, we may need to unify/generalize this with OverloadCandidateSet.
Declared at: clang/include/clang/Sema/TemplateDeduction.h:316
Member Variables
- private SmallVector<clang::TemplateSpecCandidate, 16> Candidates
- private clang::SourceLocation Loc
- private bool ForTakingAddress
Method Overview
- public void NoteCandidates(clang::Sema & S, clang::SourceLocation Loc)
- public void NoteCandidates(clang::Sema & S, clang::SourceLocation Loc) const
- public TemplateSpecCandidateSet(clang::SourceLocation Loc, bool ForTakingAddress = false)
- public TemplateSpecCandidateSet(const clang::TemplateSpecCandidateSet &)
- public clang::TemplateSpecCandidate & addCandidate()
- public clang::TemplateSpecCandidateSet::iterator begin()
- public void clear()
- private void destroyCandidates()
- public bool empty() const
- public clang::TemplateSpecCandidateSet::iterator end()
- public clang::SourceLocation getLocation() const
- public size_t size() const
- public ~TemplateSpecCandidateSet()
Methods
¶void NoteCandidates(clang::Sema& S,
clang::SourceLocation Loc)
void NoteCandidates(clang::Sema& S,
clang::SourceLocation Loc)
Declared at: clang/include/clang/Sema/TemplateDeduction.h:356
Parameters
¶void NoteCandidates(
clang::Sema& S,
clang::SourceLocation Loc) const
void NoteCandidates(
clang::Sema& S,
clang::SourceLocation Loc) const
Declared at: clang/include/clang/Sema/TemplateDeduction.h:358
Parameters
¶TemplateSpecCandidateSet(
clang::SourceLocation Loc,
bool ForTakingAddress = false)
TemplateSpecCandidateSet(
clang::SourceLocation Loc,
bool ForTakingAddress = false)
Declared at: clang/include/clang/Sema/TemplateDeduction.h:328
Parameters
- clang::SourceLocation Loc
- bool ForTakingAddress = false
¶TemplateSpecCandidateSet(
const clang::TemplateSpecCandidateSet&)
TemplateSpecCandidateSet(
const clang::TemplateSpecCandidateSet&)
Declared at: clang/include/clang/Sema/TemplateDeduction.h:330
Parameters
¶clang::TemplateSpecCandidate& addCandidate()
clang::TemplateSpecCandidate& addCandidate()
Description
Add a new candidate with NumConversions conversion sequence slots to the overload set.
Declared at: clang/include/clang/Sema/TemplateDeduction.h:351
¶clang::TemplateSpecCandidateSet::iterator begin()
clang::TemplateSpecCandidateSet::iterator begin()
Declared at: clang/include/clang/Sema/TemplateDeduction.h:343
¶void clear()
void clear()
Description
Clear out all of the candidates. TODO: This may be unnecessary.
Declared at: clang/include/clang/Sema/TemplateDeduction.h:339
¶void destroyCandidates()
void destroyCandidates()
Declared at: clang/include/clang/Sema/TemplateDeduction.h:325
¶bool empty() const
bool empty() const
Declared at: clang/include/clang/Sema/TemplateDeduction.h:347
¶clang::TemplateSpecCandidateSet::iterator end()
clang::TemplateSpecCandidateSet::iterator end()
Declared at: clang/include/clang/Sema/TemplateDeduction.h:344
¶clang::SourceLocation getLocation() const
clang::SourceLocation getLocation() const
Declared at: clang/include/clang/Sema/TemplateDeduction.h:335
¶size_t size() const
size_t size() const
Declared at: clang/include/clang/Sema/TemplateDeduction.h:346
¶~TemplateSpecCandidateSet()
~TemplateSpecCandidateSet()
Declared at: clang/include/clang/Sema/TemplateDeduction.h:333