Home
last modified time | relevance | path

Searched refs:hasLocalStorage (Results 1 – 25 of 41) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUndefCapturedBlockVarChecker.cpp66 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) in checkPostStmt()
H A DDeadStoresChecker.cpp269 if (!VD->hasLocalStorage()) in CheckVarDecl()
380 if (V->hasLocalStorage()) { in observeStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DVarBypassDetector.cpp37 if (VD && VD->hasLocalStorage()) { in BuildScopeInformation()
H A DCGDeclCXX.cpp33 (D.hasLocalStorage() && CGF.getContext().getLangOpts().OpenCLCPlusPlus)) && in EmitDeclInit()
H A DCGExprConstant.cpp1675 if (!D.hasLocalStorage()) { in tryEmitPrivateForVarInit()
1948 if (!VD->hasLocalStorage()) { in tryEmitBase()
H A DCGException.cpp1804 if (D && D->isLocalVarDeclOrParm() && D->hasLocalStorage()) in VisitDeclRefExpr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h213 else if (VD->hasLocalStorage()) in VisitNonParamVarRegion()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp158 if (VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl()
182 if (S.Context.getLangOpts().CPlusPlus && VD->hasLocalStorage() && Init) { in GetDiagForGotoScopeDecl()
H A DSemaDecl.cpp6980 else if (!var->hasLocalStorage()) in inferObjCARCLifetime()
7662 NewVD->hasLocalStorage()) in ActOnVariableDeclarator()
7885 if (NewVD->hasLocalStorage() && in ActOnVariableDeclarator()
7971 else if (NewVD->hasLocalStorage()) in ActOnVariableDeclarator()
8004 !NewVD->hasLocalStorage()) { in ActOnVariableDeclarator()
8432 VD && VD->hasLocalStorage()) { in CheckShadow()
8796 if (NewVD->hasLocalStorage() && T.isObjCGCWeak() in CheckVariableDeclarationType()
13584 if (VDecl->hasLocalStorage()) in AddInitializerToDecl()
13790 if (VDecl->hasLocalStorage()) in AddInitializerToDecl()
14389 var->hasLocalStorage()) { in CheckCompleteVariableDeclaration()
[all …]
H A DSemaDeclAttr.cpp4947 if (VD->hasLocalStorage()) { in mergeInternalLinkageAttr()
4968 if (VD->hasLocalStorage()) { in mergeInternalLinkageAttr()
5043 if (VD->hasLocalStorage()) { in handleConstantAttr()
5066 if (S.getLangOpts().CUDA && VD->hasLocalStorage() && in handleSharedAttr()
5111 if (VD->hasLocalStorage()) { in handleDeviceAttr()
5127 if (VD->hasLocalStorage()) { in handleManagedAttr()
7395 if (VD->hasLocalStorage()) { in handleDeclspecThreadAttr()
8737 if (!VD->hasLocalStorage()) { in handleObjCExternallyRetainedAttr()
H A DSemaStmt.cpp2158 if (VD->isLocalVarDecl() && !VD->hasLocalStorage()) { in ActOnForStmt()
2315 if (!D->hasLocalStorage()) in ActOnObjCForCollectionStmt()
3430 if (!VD->hasLocalStorage()) in getNamedReturnInfo()
H A DSemaLambda.cpp1239 if (!Underlying->hasLocalStorage()) { in ActOnLambdaExpressionAfterIntroducer()
H A DSemaInit.cpp2088 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) { in CheckFlexibleArrayInit()
5917 return (var->hasLocalStorage() ? IIK_okay : IIK_nonlocal); in isInvalidICRSource()
7689 if (VD && VD->hasLocalStorage() && in visitLocalsRetainedByReferenceBinding()
8408 if (!VD || !VD->hasLocalStorage()) in CheckMoveOnConstruction()
H A DAnalysisBasedWarnings.cpp1428 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base)) in diagnoseRepeatedUseOfWeak()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp611 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
H A DReachableCode.cpp284 if (!VD->hasLocalStorage()) in isConfigurationValue()
H A DUnsafeBufferUsage.cpp1556 VD->hasConstantInitialization() || !VD->hasLocalStorage() || in hasUnsupportedSpecifiers()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp1039 if (D->hasLocalStorage()) { in getVarRegion()
1659 if (!VD->hasAttr<BlocksAttr>() && VD->hasLocalStorage()) { in getCaptureRegions()
H A DRegionStore.cpp1095 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) { in VisitCluster()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp335 REGISTER_MATCHER(hasLocalStorage); in RegistryMaps()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1168 bool hasLocalStorage() const { in hasLocalStorage() function
1210 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage()
1214 return hasLocalStorage() ? SD_Automatic : in getStorageDuration()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DComputeDependence.cpp68 if (!VarD || !VarD->hasLocalStorage()) in computeDependence()
H A DJSONNodeDumper.cpp826 if (VD && VD->hasLocalStorage()) in VisitNamedDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4409 AST_MATCHER(VarDecl, hasLocalStorage) { in AST_MATCHER() argument
4410 return Node.hasLocalStorage(); in AST_MATCHER()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeExprGen.cpp2170 if (VD->hasLocalStorage() && VD->hasInit() && !VD->isConstexpr()) { in dereferenceVar()

12