Home
last modified time | relevance | path

Searched refs:SrcDecl (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DNotNullTerminatedResultCheck.cpp663 auto SrcDecl = declRefExpr( in registerMatchers() local
671 SrcDecl, hasDescendant(SrcDecl))); in registerMatchers()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBlocks.cpp1915 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamDecl::Other); in GenerateCopyHelperFunction() local
1916 args.push_back(&SrcDecl); in GenerateCopyHelperFunction()
1940 Address src = GetAddrOfLocalVar(&SrcDecl); in GenerateCopyHelperFunction()
2104 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamDecl::Other); in GenerateDestroyHelperFunction() local
2105 args.push_back(&SrcDecl); in GenerateDestroyHelperFunction()
2130 Address src = GetAddrOfLocalVar(&SrcDecl); in GenerateDestroyHelperFunction()
H A DMicrosoftCXXABI.cpp927 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in performBaseAdjustment() local
933 if (Context.getASTRecordLayout(SrcDecl).hasExtendableVFPtr()) in performBaseAdjustment()
935 SrcDecl); in performBaseAdjustment()
940 for (auto &Base : SrcDecl->vbases()) { in performBaseAdjustment()
950 GetVirtualBaseClassOffset(CGF, Value, SrcDecl, PolymorphicBase); in performBaseAdjustment()
954 CGF.CGM.getVBaseAlignment(Value.getAlignment(), SrcDecl, PolymorphicBase); in performBaseAdjustment()
961 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldTypeidBeNullChecked() local
963 !getContext().getASTRecordLayout(SrcDecl).hasExtendableVFPtr(); in shouldTypeidBeNullChecked()
995 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldDynamicCastCallBeNullChecked() local
997 !getContext().getASTRecordLayout(SrcDecl).hasExtendableVFPtr(); in shouldDynamicCastCallBeNullChecked()
H A DCGObjC.cpp3706 ParmVarDecl *SrcDecl = ParmVarDecl::Create( in GenerateObjCAtomicSetterCopyHelperFunction() local
3710 args.push_back(Params[1] = SrcDecl); in GenerateObjCAtomicSetterCopyHelperFunction()
3732 DeclRefExpr SrcExpr(C, SrcDecl, false, SrcTy, VK_PRValue, SourceLocation()); in GenerateObjCAtomicSetterCopyHelperFunction()
3796 ParmVarDecl *SrcDecl = ParmVarDecl::Create( in GenerateObjCAtomicGetterCopyHelperFunction() local
3800 args.push_back(Params[1] = SrcDecl); in GenerateObjCAtomicGetterCopyHelperFunction()
3816 DeclRefExpr SrcExpr(getContext(), SrcDecl, false, SrcTy, VK_PRValue, in GenerateObjCAtomicGetterCopyHelperFunction()
H A DItaniumCXXABI.cpp1470 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in EmitDynamicCastCall() local
1474 computeOffsetHint(CGF.getContext(), SrcDecl, DestDecl).getQuantity()); in EmitDynamicCastCall()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCast.cpp885 const RecordDecl *SrcDecl = SrcRecord->getDecl()->getDefinition(); in CheckDynamicCast() local
886 assert(SrcDecl && "Definition missing"); in CheckDynamicCast()
887 if (!cast<CXXRecordDecl>(SrcDecl)->isPolymorphic()) { in CheckDynamicCast()