reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Sema/Sema.h
 6460   bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base);

References

tools/clang/lib/Sema/SemaCast.cpp
  824       Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) {
tools/clang/lib/Sema/SemaDeclCXX.cpp
 9098     else if (IsDerivedFrom(Conversion->getLocation(), ClassType, ConvType))
15409     if (!IsDerivedFrom(New->getLocation(), NewClassTy, OldClassTy)) {
tools/clang/lib/Sema/SemaExpr.cpp
 2751     if (IsDerivedFrom(FromLoc, FromRecordType, QRecordType)) {
 2787       assert(IsDerivedFrom(FromLoc, FromRecordType, URecordType));
tools/clang/lib/Sema/SemaExprCXX.cpp
 5471     if (!IsDerivedFrom(Loc, LHSType, Class)) {
 5613                        Self.IsDerivedFrom(QuestionLoc, FTy, TTy);
 5615                        Self.IsDerivedFrom(QuestionLoc, TTy, FTy))) {
tools/clang/lib/Sema/SemaFixItUtils.cpp
   44   if ((FromUnq == ToUnq || (S.IsDerivedFrom(Loc, FromUnq, ToUnq)) ) &&
tools/clang/lib/Sema/SemaInit.cpp
 4308           S.IsDerivedFrom(InitList->getBeginLoc(), InitType, DestType)) {
 5820           S.IsDerivedFrom(Initializer->getBeginLoc(), SourceType, DestType))))
 5854           S.IsDerivedFrom(Initializer->getBeginLoc(), SourceType,
tools/clang/lib/Sema/SemaOpenMP.cpp
12901                   SemaRef.IsDerivedFrom(Loc, Ty, D->getType()) &&
15199                 SemaRef.IsDerivedFrom(Loc, Type, D->getType()) &&
tools/clang/lib/Sema/SemaOverload.cpp
 1307            S.IsDerivedFrom(From->getBeginLoc(), FromCanon, ToCanon))) {
 1399        S.IsDerivedFrom(From->getBeginLoc(), FromType, ToType))) {
 2404       IsDerivedFrom(From->getBeginLoc(), FromPointeeType, ToPointeeType)) {
 3030       IsDerivedFrom(From->getBeginLoc(), ToClass, FromClass)) {
 3357          S.IsDerivedFrom(From->getBeginLoc(), From->getType(), ToType)))
 3912     if (S.IsDerivedFrom(Loc, FromPointee2, FromPointee1))
 3914     else if (S.IsDerivedFrom(Loc, FromPointee1, FromPointee2))
 4193       if (S.IsDerivedFrom(Loc, ToPointee1, ToPointee2))
 4195       else if (S.IsDerivedFrom(Loc, ToPointee2, ToPointee1))
 4201       if (S.IsDerivedFrom(Loc, FromPointee2, FromPointee1))
 4203       else if (S.IsDerivedFrom(Loc, FromPointee1, FromPointee2))
 4314       if (S.IsDerivedFrom(Loc, ToPointee1, ToPointee2))
 4316       else if (S.IsDerivedFrom(Loc, ToPointee2, ToPointee1))
 4321       if (S.IsDerivedFrom(Loc, FromPointee1, FromPointee2))
 4323       else if (S.IsDerivedFrom(Loc, FromPointee2, FromPointee1))
 4335       if (S.IsDerivedFrom(Loc, ToType1, ToType2))
 4337       else if (S.IsDerivedFrom(Loc, ToType2, ToType1))
 4347       if (S.IsDerivedFrom(Loc, FromType2, FromType1))
 4349       else if (S.IsDerivedFrom(Loc, FromType1, FromType2))
 4402              IsDerivedFrom(Loc, UnqualT2, UnqualT1))
 4901           S.IsDerivedFrom(From->getBeginLoc(), InitType, ToType))
 5240   } else if (S.IsDerivedFrom(Loc, FromType, ClassType))
 6166          IsDerivedFrom(Args[0]->getBeginLoc(), Args[0]->getType(),
 6187       if ((Context.hasSameUnqualifiedType(P, C) || IsDerivedFrom(Loc, P, C)) &&
 6188           (Context.hasSameUnqualifiedType(D, P) || IsDerivedFrom(Loc, D, P))) {
 7122       IsDerivedFrom(CandidateSet.getLocation(), FromCanon, ToCanon)) {
 8852         if (C1 != C2 && !S.IsDerivedFrom(CandidateSet.getLocation(), C1, C2))
10070           S.IsDerivedFrom(SourceLocation(), ToPtrTy->getPointeeType(),
10088         S.IsDerivedFrom(SourceLocation(), ToRefTy->getPointeeType(), FromTy)) {
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
 3268       S.IsDerivedFrom(Info.getLocation(), A, DeducedA))