clang API Documentation
Public Types | |
| typedef TypeSet::iterator | iterator |
| iterator - Iterates through the types that are part of the set. | |
Public Member Functions | |
| BuiltinCandidateTypeSet (Sema &SemaRef) | |
| void | AddTypesConvertedFrom (QualType Ty, SourceLocation Loc, bool AllowUserConversions, bool AllowExplicitConversions, const Qualifiers &VisibleTypeConversionsQuals) |
| iterator | pointer_begin () |
| pointer_begin - First pointer type found; | |
| iterator | pointer_end () |
| pointer_end - Past the last pointer type found; | |
| iterator | member_pointer_begin () |
| member_pointer_begin - First member pointer type found; | |
| iterator | member_pointer_end () |
| member_pointer_end - Past the last member pointer type found; | |
| iterator | enumeration_begin () |
| enumeration_begin - First enumeration type found; | |
| iterator | enumeration_end () |
| enumeration_end - Past the last enumeration type found; | |
| iterator | vector_begin () |
| iterator | vector_end () |
| bool | hasNonRecordTypes () |
| bool | hasArithmeticOrEnumeralTypes () |
| bool | hasNullPtrType () const |
BuiltinCandidateTypeSet - A set of types that will be used for the candidate operator functions for built-in operators (C++ [over.built]). The types are separated into pointer types and enumeration types.
Definition at line 6017 of file SemaOverload.cpp.
| typedef TypeSet::iterator clang::BuiltinCandidateTypeSet::iterator |
iterator - Iterates through the types that are part of the set.
Definition at line 6061 of file SemaOverload.cpp.
| clang::BuiltinCandidateTypeSet::BuiltinCandidateTypeSet | ( | Sema & | SemaRef | ) | [inline] |
Definition at line 6063 of file SemaOverload.cpp.
| void clang::BuiltinCandidateTypeSet::AddTypesConvertedFrom | ( | QualType | Ty, |
| SourceLocation | Loc, | ||
| bool | AllowUserConversions, | ||
| bool | AllowExplicitConversions, | ||
| const Qualifiers & | VisibleQuals | ||
| ) |
AddTypesConvertedFrom - Add each of the types to which the type Ty can be implicit converted to the given set of Types. We're primarily interested in pointer types and enumeration types. We also take member pointer types, for the conditional operator. AllowUserConversions is true if we should look at the conversion functions of a class type, and AllowExplicitConversions if we should also include the explicit conversion functions of a class type.
Definition at line 6213 of file SemaOverload.cpp.
References clang::QualType::getCanonicalType(), clang::CXXConversionDecl::getConversionType(), clang::RecordType::getDecl(), clang::QualType::getLocalUnqualifiedType(), clang::CXXRecordDecl::getVisibleConversionFunctions(), and clang::CXXConversionDecl::isExplicit().
| iterator clang::BuiltinCandidateTypeSet::enumeration_begin | ( | ) | [inline] |
enumeration_begin - First enumeration type found;
Definition at line 6089 of file SemaOverload.cpp.
| iterator clang::BuiltinCandidateTypeSet::enumeration_end | ( | ) | [inline] |
enumeration_end - Past the last enumeration type found;
Definition at line 6092 of file SemaOverload.cpp.
| bool clang::BuiltinCandidateTypeSet::hasArithmeticOrEnumeralTypes | ( | ) | [inline] |
Definition at line 6098 of file SemaOverload.cpp.
| bool clang::BuiltinCandidateTypeSet::hasNonRecordTypes | ( | ) | [inline] |
Definition at line 6097 of file SemaOverload.cpp.
| bool clang::BuiltinCandidateTypeSet::hasNullPtrType | ( | ) | const [inline] |
Definition at line 6099 of file SemaOverload.cpp.
| iterator clang::BuiltinCandidateTypeSet::member_pointer_begin | ( | ) | [inline] |
member_pointer_begin - First member pointer type found;
Definition at line 6083 of file SemaOverload.cpp.
| iterator clang::BuiltinCandidateTypeSet::member_pointer_end | ( | ) | [inline] |
member_pointer_end - Past the last member pointer type found;
Definition at line 6086 of file SemaOverload.cpp.
| iterator clang::BuiltinCandidateTypeSet::pointer_begin | ( | ) | [inline] |
pointer_begin - First pointer type found;
Definition at line 6077 of file SemaOverload.cpp.
| iterator clang::BuiltinCandidateTypeSet::pointer_end | ( | ) | [inline] |
pointer_end - Past the last pointer type found;
Definition at line 6080 of file SemaOverload.cpp.
| iterator clang::BuiltinCandidateTypeSet::vector_begin | ( | ) | [inline] |
Definition at line 6094 of file SemaOverload.cpp.
| iterator clang::BuiltinCandidateTypeSet::vector_end | ( | ) | [inline] |
Definition at line 6095 of file SemaOverload.cpp.