Home
last modified time | relevance | path

Searched refs:classDecl (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenClass.cpp73 const CXXRecordDecl *classDecl, in emitMemberInitializer() argument
88 QualType recordTy = cgf.getContext().getTypeDeclType(classDecl); in emitMemberInitializer()
152 const CXXRecordDecl *classDecl, in emitBaseInitializer() argument
170 if (classDecl->isDynamicClass()) { in emitBaseInitializer()
178 loc, thisPtr, classDecl, baseClassDecl, isBaseVirtual); in emitBaseInitializer()
182 getOverlapForBaseInit(classDecl, baseClassDecl, isBaseVirtual)); in emitBaseInitializer()
203 const CXXRecordDecl *classDecl = cd->getParent(); in emitCtorPrologue() local
219 classDecl->getNumVBases() != 0 && in emitCtorPrologue()
220 !classDecl->isAbstract(); in emitCtorPrologue()
244 emitBaseInitializer(getLoc(cd->getBeginLoc()), classDecl, *b); in emitCtorPrologue()
[all …]
H A DCIRGenFunction.cpp301 if (const auto *classDecl = dyn_cast<CXXRecordDecl>(recordType->getDecl())) in mayDropFunctionReturn() local
302 return classDecl->hasTrivialDestructor(); in mayDropFunctionReturn()
H A DCIRGenExpr.cpp409 if (auto *classDecl = dyn_cast<CXXRecordDecl>(rec)) { in emitLValueForField() local
411 classDecl->isDynamicClass()) { in emitLValueForField()
H A DCIRGenFunction.h778 void emitBaseInitializer(mlir::Location loc, const CXXRecordDecl *classDecl,
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefCallArgsChecker.cpp264 if (const CXXRecordDecl *classDecl = calleeDecl->getParent()) { in shouldSkipCall() local
265 if (isSafePtr(classDecl)) in shouldSkipCall()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp1726 ObjCInterfaceDecl *classDecl = in GenerateClass() local
1728 std::string className = classDecl->getNameAsString(); in GenerateClass()
1779 metaclassFields.add(GeneratePropertyList(OID, classDecl, /*isClassProperty*/true)); in GenerateClass()
1834 if (classDecl->all_declared_ivar_begin() == nullptr) in GenerateClass()
1838 for (const ObjCIvarDecl *IVD = classDecl->all_declared_ivar_begin(); IVD; in GenerateClass()
1857 for (const ObjCIvarDecl *IVD = classDecl->all_declared_ivar_begin(); IVD; in GenerateClass()
1872 std::string OffsetName = GetIVarOffsetVariableName(classDecl, IVD); in GenerateClass()
1883 classDecl->getVisibility() == HiddenVisibility) ? in GenerateClass()
1946 GetRuntimeProtocolList(classDecl->all_referenced_protocol_begin(), in GenerateClass()
1947 classDecl->all_referenced_protocol_end()); in GenerateClass()
[all …]
H A DCGCall.cpp4612 if (const ObjCInterfaceDecl *classDecl = dyn_cast<ObjCInterfaceDecl>(dc)) { in isObjCMethodWithTypeParams() local
4613 return classDecl->getTypeParamListAsWritten(); in isObjCMethodWithTypeParams()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp5433 const CXXRecordDecl *classDecl = ty->getAsCXXRecordDecl(); in getDestructorDecl() local
5434 assert(classDecl); in getDestructorDecl()
5435 return classDecl->getDestructor(); in getDestructorDecl()
5441 const CXXRecordDecl *classDecl = in getDestructorDecl() local
5443 return classDecl->getDestructor(); in getDestructorDecl()
5459 const CXXRecordDecl *classDecl = ty->getAsCXXRecordDecl(); in getDestructorDecl() local
5460 assert(classDecl); in getDestructorDecl()
5461 return classDecl->getDestructor(); in getDestructorDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1779 ObjCInterfaceDecl *classDecl = getInterface(); in computeSuperClassTypeSlow() local
1780 if (!classDecl) { in computeSuperClassTypeSlow()
1786 const ObjCObjectType *superClassObjTy = classDecl->getSuperClassType(); in computeSuperClassTypeSlow()
1816 ObjCTypeParamList *typeParams = classDecl->getTypeParamList(); in computeSuperClassTypeSlow()
1827 classDecl->getASTContext().getObjCInterfaceType( in computeSuperClassTypeSlow()
1839 .substObjCTypeArgs(classDecl->getASTContext(), typeArgs, in computeSuperClassTypeSlow()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp2173 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr() local
2174 SuperType = QualType(classDecl->getSuperClassType(), 0); in ActOnClassPropertyRefExpr()