Home
last modified time | relevance | path

Searched refs:FromClass (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp2538 auto *FromClass = in TEST_P() local
2540 auto LookupRes = FromClass->noload_lookup(FromName); in TEST_P()
2582 auto *FromClass = in TEST_P() local
2584 auto LookupRes = FromClass->noload_lookup(FromName); in TEST_P()
2659 auto *FromClass = FirstDeclMatcher<CXXRecordDecl>().match( in TEST_P() local
2662 auto FromFriends = FromClass->friends(); in TEST_P()
2842 auto *FromClass = FirstDeclMatcher<CXXRecordDecl>().match( in test() local
2844 ImportedClass = Import(FromClass, Lang_CXX11); in test()
3576 auto *FromClass = FirstDeclMatcher<CXXRecordDecl>().match( in TEST_P() local
3581 ASSERT_TRUE(FromClass); in TEST_P()
[all …]
/external/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp1605 ClassInfo *FromClass = getTokenClass(Rec->getValueAsString("FromToken")); in buildInfo() local
1607 if (FromClass == ToClass) in buildInfo()
1610 FromClass->SuperClasses.push_back(ToClass); in buildInfo()
/external/llvm-project/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp1645 ClassInfo *FromClass = getTokenClass(Rec->getValueAsString("FromToken")); in buildInfo() local
1647 if (FromClass == ToClass) in buildInfo()
1650 FromClass->SuperClasses.push_back(ToClass); in buildInfo()
/external/clang/lib/Sema/
DSemaOverload.cpp2830 QualType FromClass(FromTypePtr->getClass(), 0); in IsMemberPointerConversion() local
2833 if (!Context.hasSameUnqualifiedType(FromClass, ToClass) && in IsMemberPointerConversion()
2834 IsDerivedFrom(From->getLocStart(), ToClass, FromClass)) { in IsMemberPointerConversion()
2868 QualType FromClass = QualType(FromPtrType->getClass(), 0); in CheckMemberPointerConversion() local
2872 assert(FromClass->isRecordType() && "Pointer into non-class."); in CheckMemberPointerConversion()
2878 IsDerivedFrom(From->getLocStart(), ToClass, FromClass, Paths); in CheckMemberPointerConversion()
2883 if (Paths.isAmbiguous(Context.getCanonicalType(FromClass). in CheckMemberPointerConversion()
2887 << 0 << FromClass << ToClass << PathDisplayStr << From->getSourceRange(); in CheckMemberPointerConversion()
2893 << FromClass << ToClass << QualType(VBase, 0) in CheckMemberPointerConversion()
2899 CheckBaseClassAccess(From->getExprLoc(), FromClass, ToClass, in CheckMemberPointerConversion()
/external/llvm-project/clang/lib/Sema/
DSemaOverload.cpp3095 QualType FromClass(FromTypePtr->getClass(), 0); in IsMemberPointerConversion() local
3098 if (!Context.hasSameUnqualifiedType(FromClass, ToClass) && in IsMemberPointerConversion()
3099 IsDerivedFrom(From->getBeginLoc(), ToClass, FromClass)) { in IsMemberPointerConversion()
3133 QualType FromClass = QualType(FromPtrType->getClass(), 0); in CheckMemberPointerConversion() local
3137 assert(FromClass->isRecordType() && "Pointer into non-class."); in CheckMemberPointerConversion()
3143 IsDerivedFrom(From->getBeginLoc(), ToClass, FromClass, Paths); in CheckMemberPointerConversion()
3148 if (Paths.isAmbiguous(Context.getCanonicalType(FromClass). in CheckMemberPointerConversion()
3152 << 0 << FromClass << ToClass << PathDisplayStr << From->getSourceRange(); in CheckMemberPointerConversion()
3158 << FromClass << ToClass << QualType(VBase, 0) in CheckMemberPointerConversion()
3164 CheckBaseClassAccess(From->getExprLoc(), FromClass, ToClass, in CheckMemberPointerConversion()
/external/llvm-project/clang/lib/AST/
DASTImporter.cpp7715 CXXRecordDecl *FromClass = E->getLambdaClass(); in VisitLambdaExpr() local
7716 auto ToClassOrErr = import(FromClass); in VisitLambdaExpr()
8345 auto *FromClass = cast<ObjCInterfaceDecl>(FromDC); in ImportContext() local
8348 } else if (ObjCInterfaceDecl *FromDef = FromClass->getDefinition()) { in ImportContext()
/external/clang/lib/AST/
DASTImporter.cpp6175 ObjCInterfaceDecl *FromClass = cast<ObjCInterfaceDecl>(FromDC); in ImportContext() local
6178 } else if (ObjCInterfaceDecl *FromDef = FromClass->getDefinition()) { in ImportContext()