Home
last modified time | relevance | path

Searched refs:getPointeeCXXRecordDecl (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp244 const CXXRecordDecl *Expected = Ty->getPointeeCXXRecordDecl(); in regionMatchesCXXRecordType()
282 const CXXRecordDecl *BaseDecl = BaseType->getPointeeCXXRecordDecl(); in evalDerivedToBase()
291 if (SR->getSymbol()->getType()->getPointeeCXXRecordDecl() == BaseDecl) in evalDerivedToBase()
313 return SR->getSymbol()->getType()->getPointeeCXXRecordDecl(); in getCXXRecordType()
384 const CXXRecordDecl *SourceClass = T->getPointeeCXXRecordDecl(); in evalBaseToDerived()
H A DExprEngineCallAndReturn.cpp147 const CXXRecordDecl *ExpectedClass = ExpectedTy->getPointeeCXXRecordDecl(); in adjustReturnValue()
148 const CXXRecordDecl *ActualClass = ActualTy->getPointeeCXXRecordDecl(); in adjustReturnValue()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DParentVirtualCallCheck.cpp53 const CXXRecordDecl *RecordDeclType = TypePtr->getPointeeCXXRecordDecl(); in getParentsByGrandParent()
111 const auto *ThisType = ThisTypePtr->getPointeeCXXRecordDecl(); in check()
H A DEasilySwappableParametersCheck.cpp1029 const auto *FromRecordPtr = FromPtr->getPointeeCXXRecordDecl(); in approximateStandardConversionSequence()
1030 const auto *ToRecordPtr = ToPtr->getPointeeCXXRecordDecl(); in approximateStandardConversionSequence()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DProTypeStaticCastDowncastCheck.cpp32 const auto *SourceDecl = SourceType->getPointeeCXXRecordDecl(); in check()
H A DProTypeCstyleCastCheck.cpp53 const auto *SourceDecl = SourceType->getPointeeCXXRecordDecl(); in check()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DNoUncountedMembersChecker.cpp77 if (auto *MemberCXXRD = MemberType->getPointeeCXXRecordDecl()) { in visitRecordDecl()
H A DPtrTypesSemantics.cpp131 if (auto *CXXRD = T->getPointeeCXXRecordDecl()) { in isUncountedPtr()
H A DUncountedLocalVarsChecker.cpp65 if (auto *CXXRD = T->getPointeeCXXRecordDecl()) { in isRefcountedStringsHack()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DDeleteWithNonVirtualDtorChecker.cpp75 DerivedClassRegion->getSymbol()->getType()->getPointeeCXXRecordDecl(); in checkPreStmt()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DMakeSmartPtrCheck.cpp413 if (const CXXRecordDecl *RD = New->getType()->getPointeeCXXRecordDecl()) { in replaceNew()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexBody.cpp106 if (auto *CXXRD = BaseTy->getPointeeCXXRecordDecl()) in getRolesForRef()
/llvm-project-15.0.7/clang/lib/AST/
H A DType.cpp94 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeDynamicClass()
99 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeNotDynamicClass()
1744 const CXXRecordDecl *Type::getPointeeCXXRecordDecl() const { in getPointeeCXXRecordDecl() function in Type
H A DExpr.cpp2221 const CXXRecordDecl *ImplDecl = getType()->getPointeeCXXRecordDecl(); in EvaluateInContext()
H A DExprConstant.cpp5797 const CXXRecordDecl *OldClass = Path[0]->getPointeeCXXRecordDecl(); in HandleCovariantReturnAdjustment()
5799 const CXXRecordDecl *NewClass = Path[I]->getPointeeCXXRecordDecl(); in HandleCovariantReturnAdjustment()
5853 const CXXRecordDecl *C = E->getTypeAsWritten()->getPointeeCXXRecordDecl(); in HandleDynamicCast()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DRetainSummaryManager.cpp172 return isOSObjectSubclass(QT->getPointeeCXXRecordDecl()); in isOSObjectPtr()
H A DConsumed.cpp164 if (const CXXRecordDecl *RD = QT->getPointeeCXXRecordDecl()) in isSetOnReadPtrType()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp851 if (Sym->getType()->getPointeeCXXRecordDecl()) in errorKindToBugKind()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCast.cpp963 const CXXRecordDecl *SrcPointeeRD = SrcType->getPointeeCXXRecordDecl(); in DiagnoseReinterpretUpDownCast()
973 const CXXRecordDecl *DestRD = DestType->getPointeeCXXRecordDecl(); in DiagnoseReinterpretUpDownCast()
H A DSemaInit.cpp6964 const auto *RD = FD->getParamDecl(0)->getType()->getPointeeCXXRecordDecl(); in shouldTrackFirstArgument()
8988 auto *fromDecl = fromType->getPointeeCXXRecordDecl(); in emitBadConversionNotes()
8989 auto *destDecl = destType->getPointeeCXXRecordDecl(); in emitBadConversionNotes()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1692 if (AT->isDeduced() && ThisPtr->getPointeeCXXRecordDecl()->isLambda()) in getOrCreateInstanceMethodType()
1700 const CXXRecordDecl *RD = ThisPtr->getPointeeCXXRecordDecl(); in getOrCreateInstanceMethodType()
H A DCGExprScalar.cpp2193 const CXXRecordDecl *DerivedClassDecl = DestTy->getPointeeCXXRecordDecl(); in VisitCastExpr()
H A DCGExpr.cpp1159 auto Derived = CE->getSubExpr()->getType()->getPointeeCXXRecordDecl(); in EmitPointerWithAlignment()
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp4018 if (qual_type->getPointeeCXXRecordDecl()) in GetMinimumLanguage()
4022 if (pointee_type->getPointeeCXXRecordDecl()) in GetMinimumLanguage()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DType.h2339 const CXXRecordDecl *getPointeeCXXRecordDecl() const;

12