Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUndefCapturedBlockVarChecker.cpp68 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) in checkPostStmt()
H A DDeadStoresChecker.cpp272 if (!VD->hasLocalStorage()) in CheckVarDecl()
384 if (V->hasLocalStorage()) { in observeStmt()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DVarBypassDetector.cpp37 if (VD && VD->hasLocalStorage()) { in BuildScopeInformation()
H A DCGDeclCXX.cpp32 (D.hasLocalStorage() && CGF.getContext().getLangOpts().OpenCLCPlusPlus)) && in EmitDeclInit()
H A DCGExprConstant.cpp1617 if (!D.hasLocalStorage()) { in tryEmitPrivateForVarInit()
1895 if (!VD->hasLocalStorage()) { in tryEmitBase()
H A DCGException.cpp1777 if (D && D->isLocalVarDeclOrParm() && D->hasLocalStorage()) in VisitDeclRefExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeStmtGen.cpp231 if (!VD->hasLocalStorage()) { in visitVarDecl()
H A DByteCodeExprGen.cpp382 if (VD->hasLocalStorage() && VD->hasInit() && !VD->isConstexpr()) { in dereferenceVar()
489 if (!VD->hasLocalStorage()) { in getGlobalIdx()
H A DProgram.cpp144 IsStatic = !Var->hasLocalStorage(); in createGlobal()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h190 else if (VD->hasLocalStorage()) in VisitNonParamVarRegion()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp160 if (VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl()
184 if (S.Context.getLangOpts().CPlusPlus && VD->hasLocalStorage() && Init) { in GetDiagForGotoScopeDecl()
H A 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()
7981 if (!getLangOpts().OpenCL && NewVD->hasLocalStorage() && in CheckVariableDeclarationType()
8091 if (NewVD->hasLocalStorage() && T.isObjCGCWeak() in CheckVariableDeclarationType()
8171 if (!NewVD->hasLocalStorage() && T->isSizelessType()) { in CheckVariableDeclarationType()
12260 if (VDecl->hasLocalStorage()) in AddInitializerToDecl()
12441 if (VDecl->hasLocalStorage()) in AddInitializerToDecl()
13034 var->hasLocalStorage()) { in CheckCompleteVariableDeclaration()
[all …]
H A 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()
H A DSemaStmt.cpp2111 if (VD->isLocalVarDecl() && !VD->hasLocalStorage()) { in ActOnForStmt()
2268 if (!D->hasLocalStorage()) in ActOnObjCForCollectionStmt()
3373 if (!VD->hasLocalStorage()) in getNamedReturnInfo()
H A DSemaLambda.cpp1204 if (!Var->hasLocalStorage()) { in ActOnStartOfLambdaDefinition()
H A 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()
H A DAnalysisBasedWarnings.cpp1408 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base)) in diagnoseRepeatedUseOfWeak()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp283 if (!VD->hasLocalStorage()) in isConfigurationValue()
H A DAnalysisDeclContext.cpp612 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp988 if (D->hasLocalStorage()) { in getVarRegion()
1591 if (!VD->hasAttr<BlocksAttr>() && VD->hasLocalStorage()) { in getCaptureRegions()
H A DRegionStore.cpp1107 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) { in VisitCluster()
/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp318 REGISTER_MATCHER(hasLocalStorage); in RegistryMaps()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1099 bool hasLocalStorage() const { in hasLocalStorage() function
1141 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage()
1145 return hasLocalStorage() ? SD_Automatic : in getStorageDuration()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DComputeDependence.cpp66 if (!VarD || !VarD->hasLocalStorage()) in computeDependence()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4229 AST_MATCHER(VarDecl, hasLocalStorage) { in AST_MATCHER() argument
4230 return Node.hasLocalStorage(); in AST_MATCHER()

12