Home
last modified time | relevance | path

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

/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp2549 auto *ToClass = FirstDeclMatcher<CXXRecordDecl>().match(ToTU, ClassPattern); in TEST_P() local
2550 LookupRes = ToClass->noload_lookup(ToName); in TEST_P()
2593 auto *ToClass = FirstDeclMatcher<CXXRecordDecl>().match(ToTU, ClassPattern); in TEST_P() local
2594 LookupRes = ToClass->noload_lookup(ToName); in TEST_P()
2672 auto *ToClass = FirstDeclMatcher<CXXRecordDecl>().match( in TEST_P() local
2675 auto ToFriends = ToClass->friends(); in TEST_P()
2825 auto *ToClass = FirstDeclMatcher<CXXRecordDecl>().match( in test() local
2828 ASSERT_EQ(DeclCounter<CXXMethodDecl>().match(ToClass, MethodMatcher), 1u); in test()
2832 FirstDeclMatcher<CXXMethodDecl>().match(ToClass, MethodMatcher); in test()
2833 ToClass->removeDecl(Method); in test()
[all …]
/external/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp1606 ClassInfo *ToClass = getTokenClass(Rec->getValueAsString("ToToken")); in buildInfo() local
1607 if (FromClass == ToClass) in buildInfo()
1610 FromClass->SuperClasses.push_back(ToClass); in buildInfo()
/external/llvm-project/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp1646 ClassInfo *ToClass = getTokenClass(Rec->getValueAsString("ToToken")); in buildInfo() local
1647 if (FromClass == ToClass) in buildInfo()
1650 FromClass->SuperClasses.push_back(ToClass); in buildInfo()
/external/clang/lib/Sema/
DSemaOverload.cpp2831 QualType ToClass(ToTypePtr->getClass(), 0); in IsMemberPointerConversion() local
2833 if (!Context.hasSameUnqualifiedType(FromClass, ToClass) && in IsMemberPointerConversion()
2834 IsDerivedFrom(From->getLocStart(), ToClass, FromClass)) { in IsMemberPointerConversion()
2836 ToClass.getTypePtr()); in IsMemberPointerConversion()
2869 QualType ToClass = QualType(ToPtrType->getClass(), 0); in CheckMemberPointerConversion() local
2873 assert(ToClass->isRecordType() && "Pointer into non-class."); in CheckMemberPointerConversion()
2878 IsDerivedFrom(From->getLocStart(), ToClass, FromClass, Paths); 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.cpp3096 QualType ToClass(ToTypePtr->getClass(), 0); in IsMemberPointerConversion() local
3098 if (!Context.hasSameUnqualifiedType(FromClass, ToClass) && in IsMemberPointerConversion()
3099 IsDerivedFrom(From->getBeginLoc(), ToClass, FromClass)) { in IsMemberPointerConversion()
3101 ToClass.getTypePtr()); in IsMemberPointerConversion()
3134 QualType ToClass = QualType(ToPtrType->getClass(), 0); in CheckMemberPointerConversion() local
3138 assert(ToClass->isRecordType() && "Pointer into non-class."); in CheckMemberPointerConversion()
3143 IsDerivedFrom(From->getBeginLoc(), ToClass, FromClass, Paths); 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.cpp7719 CXXRecordDecl *ToClass = *ToClassOrErr; in VisitLambdaExpr() local
7736 return LambdaExpr::Create(Importer.getToContext(), ToClass, ToIntroducerRange, in VisitLambdaExpr()
8344 } else if (auto *ToClass = dyn_cast<ObjCInterfaceDecl>(ToDC)) { in ImportContext() local
8346 if (ToClass->getDefinition()) { in ImportContext()
8350 FromDef, ToClass, ASTNodeImporter::IDK_Basic)) in ImportContext()
8353 CompleteDecl(ToClass); in ImportContext()
/external/clang/lib/AST/
DASTImporter.cpp6174 } else if (ObjCInterfaceDecl *ToClass = dyn_cast<ObjCInterfaceDecl>(ToDC)) { in ImportContext() local
6176 if (ToClass->getDefinition()) { in ImportContext()
6179 ASTNodeImporter(*this).ImportDefinition(FromDef, ToClass, in ImportContext()
6182 CompleteDecl(ToClass); in ImportContext()