Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
DStore.cpp236 const auto *TVR = dyn_cast<TypedValueRegion>(MR); in regionMatchesCXXRecordType() local
237 if (!TVR) in regionMatchesCXXRecordType()
240 const CXXRecordDecl *RD = TVR->getValueType()->getAsCXXRecordDecl(); in regionMatchesCXXRecordType()
310 if (const auto *TVR = dyn_cast<TypedValueRegion>(MR)) in getCXXRecordType() local
311 return TVR->getValueType()->getAsCXXRecordDecl(); in getCXXRecordType()
DBugReporterVisitors.cpp1430 const auto *TVR = dyn_cast_or_null<TypedValueRegion>(R); in tryExtractInitializerFromList() local
1432 if (!TVR) in tryExtractInitializerFromList()
1439 while (isa<FieldRegion>(TVR) || isa<ElementRegion>(TVR)) { in tryExtractInitializerFromList()
1444 if (ITy == TVR->getValueType().getCanonicalType()) in tryExtractInitializerFromList()
1447 TVRStack.push(TVR); in tryExtractInitializerFromList()
1448 TVR = cast<TypedValueRegion>(TVR->getSuperRegion()); in tryExtractInitializerFromList()
1453 if (ITy != TVR->getValueType().getCanonicalType()) in tryExtractInitializerFromList()
1458 TVR = TVRStack.top(); in tryExtractInitializerFromList()
1469 if (const auto *FR = dyn_cast<FieldRegion>(TVR)) { in tryExtractInitializerFromList()
1476 } else if (const auto *ER = dyn_cast<ElementRegion>(TVR)) { in tryExtractInitializerFromList()
DExprEngineCXX.cpp351 const TypedValueRegion *TVR = Caller->getParameterLocation( in computeObjectUnderConstruction() local
353 if (!TVR) in computeObjectUnderConstruction()
356 return loc::MemRegionVal(TVR); in computeObjectUnderConstruction()
DCallEvent.cpp274 if (const TypedValueRegion *TVR = in invalidateRegions() local
276 ValuesToInvalidate.push_back(loc::MemRegionVal(TVR)); in invalidateRegions()
DRegionStore.cpp1421 if (const auto *TVR = dyn_cast<TypedValueRegion>(MR)) in getBinding() local
1422 T = TVR->getValueType(); in getBinding()
1525 if (const TypedValueRegion *TVR = dyn_cast<TypedValueRegion>(R)) in getUnderlyingType() local
1526 RegionTy = TVR->getValueType(); in getUnderlyingType()
DMemRegion.cpp1494 if (const auto *TVR = dyn_cast<TypedValueRegion>(R)) { in calculateOffset() local
1495 Ty = TVR->getDesugaredValueType(R->getContext()); in calculateOffset()
/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
DDereferenceChecker.cpp291 const TypedValueRegion *TVR = dyn_cast_or_null<TypedValueRegion>(MR); in checkBind() local
292 if (!TVR) in checkBind()
295 if (!TVR->getValueType()->isReferenceType()) in checkBind()
DExprInspectionChecker.cpp357 if (const auto *TVR = MR->getAs<TypedValueRegion>()) { in analyzerDumpElementCount() local
358 ElementTy = TVR->getValueType(); in analyzerDumpElementCount()
DNullabilityChecker.cpp1212 const TypedValueRegion *TVR = in checkBind() local
1214 if (!TVR) in checkBind()
1217 QualType LocType = TVR->getValueType(); in checkBind()
DCheckObjCDealloc.cpp514 const TypedValueRegion *TVR = in diagnoseMissingReleases() local
516 const ObjCIvarRegion *IvarRegion = cast<ObjCIvarRegion>(TVR); in diagnoseMissingReleases()