Home
last modified time | relevance | path

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

12

/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DUndefCapturedBlockVarChecker.cpp68 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) in checkPostStmt()
DDeadStoresChecker.cpp272 if (!VD->hasLocalStorage()) in CheckVarDecl()
384 if (V->hasLocalStorage()) { in observeStmt()
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DVarBypassDetector.cpp37 if (VD && VD->hasLocalStorage()) { in BuildScopeInformation()
DCGDeclCXX.cpp32 (D.hasLocalStorage() && CGF.getContext().getLangOpts().OpenCLCPlusPlus)) && in EmitDeclInit()
DCGExprConstant.cpp1617 if (!D.hasLocalStorage()) { in tryEmitPrivateForVarInit()
1895 if (!VD->hasLocalStorage()) { in tryEmitBase()
DCGException.cpp1777 if (D && D->isLocalVarDeclOrParm() && D->hasLocalStorage()) in VisitDeclRefExpr()
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/
DByteCodeStmtGen.cpp231 if (!VD->hasLocalStorage()) { in visitVarDecl()
DByteCodeExprGen.cpp382 if (VD->hasLocalStorage() && VD->hasInit() && !VD->isConstexpr()) { in dereferenceVar()
489 if (!VD->hasLocalStorage()) { in getGlobalIdx()
DProgram.cpp144 IsStatic = !Var->hasLocalStorage(); in createGlobal()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
DSValExplainer.h190 else if (VD->hasLocalStorage()) in VisitNonParamVarRegion()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DJumpDiagnostics.cpp160 if (VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl()
184 if (S.Context.getLangOpts().CPlusPlus && VD->hasLocalStorage() && Init) { in GetDiagForGotoScopeDecl()
DSemaDecl.cpp6382 else if (!var->hasLocalStorage()) in inferObjCARCLifetime()
7007 NewVD->hasLocalStorage()) in ActOnVariableDeclarator()
7224 if (NewVD->hasLocalStorage() && in ActOnVariableDeclarator()
7310 else if (NewVD->hasLocalStorage()) in ActOnVariableDeclarator()
7738 if (cast<VarDecl>(ShadowedDecl)->hasLocalStorage()) { in CheckShadow()
7981 if (!getLangOpts().OpenCL && NewVD->hasLocalStorage() && in CheckVariableDeclarationType()
8091 if (NewVD->hasLocalStorage() && T.isObjCGCWeak() in CheckVariableDeclarationType()
8165 if (!NewVD->hasLocalStorage() && NewVD->hasAttr<BlocksAttr>()) { in CheckVariableDeclarationType()
8171 if (!NewVD->hasLocalStorage() && T->isSizelessType()) { in CheckVariableDeclarationType()
12260 if (VDecl->hasLocalStorage()) in AddInitializerToDecl()
[all …]
DSemaDeclAttr.cpp4416 if (VD->hasLocalStorage()) { in mergeInternalLinkageAttr()
4436 if (VD->hasLocalStorage()) { in mergeInternalLinkageAttr()
4509 if (VD->hasLocalStorage()) { in handleConstantAttr()
4532 if (S.getLangOpts().CUDA && VD->hasLocalStorage() && in handleSharedAttr()
4574 if (VD->hasLocalStorage()) { in handleDeviceAttr()
4590 if (VD->hasLocalStorage()) { in handleManagedAttr()
6520 if (VD->hasLocalStorage()) { in handleDeclspecThreadAttr()
7611 if (!VD->hasLocalStorage()) { in handleObjCExternallyRetainedAttr()
DSemaStmt.cpp2111 if (VD->isLocalVarDecl() && !VD->hasLocalStorage()) { in ActOnForStmt()
2268 if (!D->hasLocalStorage()) in ActOnObjCForCollectionStmt()
3373 if (!VD->hasLocalStorage()) in getNamedReturnInfo()
DSemaLambda.cpp1204 if (!Var->hasLocalStorage()) { in ActOnStartOfLambdaDefinition()
DSemaInit.cpp2017 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) { in CheckFlexibleArrayInit()
5472 return (var->hasLocalStorage() ? IIK_okay : IIK_nonlocal); in isInvalidICRSource()
7142 if (VD && VD->hasLocalStorage() && in visitLocalsRetainedByReferenceBinding()
7861 if (!VD || !VD->hasLocalStorage()) in CheckMoveOnConstruction()
DAnalysisBasedWarnings.cpp1408 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base)) in diagnoseRepeatedUseOfWeak()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
DReachableCode.cpp283 if (!VD->hasLocalStorage()) in isConfigurationValue()
DAnalysisDeclContext.cpp612 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp988 if (D->hasLocalStorage()) { in getVarRegion()
1591 if (!VD->hasAttr<BlocksAttr>() && VD->hasLocalStorage()) { in getCaptureRegions()
DRegionStore.cpp1107 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) { in VisitCluster()
/freebsd-12-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp318 REGISTER_MATCHER(hasLocalStorage); in RegistryMaps()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
DDecl.h1099 bool hasLocalStorage() const { in hasLocalStorage() function
1141 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage()
1145 return hasLocalStorage() ? SD_Automatic : in getStorageDuration()
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DComputeDependence.cpp66 if (!VarD || !VarD->hasLocalStorage()) in computeDependence()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h4229 AST_MATCHER(VarDecl, hasLocalStorage) { in AST_MATCHER() argument
4230 return Node.hasLocalStorage(); in AST_MATCHER()

12