Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DByteCodeExprGen.cpp382 if (VD->hasLocalStorage() && VD->hasInit() && !VD->isConstexpr()) { in dereferenceVar()
489 if (!VD->hasLocalStorage()) { in getGlobalIdx()
H A DByteCodeStmtGen.cpp231 if (!VD->hasLocalStorage()) { in visitVarDecl()
H A DProgram.cpp144 IsStatic = !Var->hasLocalStorage(); in createGlobal()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h190 else if (VD->hasLocalStorage()) in VisitNonParamVarRegion()
/netbsd-src/external/apache2/llvm/dist/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.cpp6319 else if (!var->hasLocalStorage()) in inferObjCARCLifetime()
6940 NewVD->hasLocalStorage()) in ActOnVariableDeclarator()
7157 if (NewVD->hasLocalStorage() && in ActOnVariableDeclarator()
7244 else if (NewVD->hasLocalStorage()) in ActOnVariableDeclarator()
7672 if (cast<VarDecl>(ShadowedDecl)->hasLocalStorage()) { in CheckShadow()
7915 if (!getLangOpts().OpenCL && NewVD->hasLocalStorage() && in CheckVariableDeclarationType()
8032 if (NewVD->hasLocalStorage() && T.isObjCGCWeak() in CheckVariableDeclarationType()
8106 if (!NewVD->hasLocalStorage() && NewVD->hasAttr<BlocksAttr>()) { in CheckVariableDeclarationType()
8112 if (!NewVD->hasLocalStorage() && T->isSizelessType()) { in CheckVariableDeclarationType()
12201 if (VDecl->hasLocalStorage()) in AddInitializerToDecl()
[all …]
H A DSemaDeclAttr.cpp4325 if (VD->hasLocalStorage()) { in mergeInternalLinkageAttr()
4345 if (VD->hasLocalStorage()) { in mergeInternalLinkageAttr()
4418 if (VD->hasLocalStorage()) { in handleConstantAttr()
4441 if (S.getLangOpts().CUDA && VD->hasLocalStorage() && in handleSharedAttr()
4483 if (VD->hasLocalStorage()) { in handleDeviceAttr()
4499 if (VD->hasLocalStorage()) { in handleManagedAttr()
6412 if (VD->hasLocalStorage()) { in handleDeclspecThreadAttr()
7489 if (!VD->hasLocalStorage()) { in handleObjCExternallyRetainedAttr()
H A DSemaStmt.cpp2110 if (VD->isLocalVarDecl() && !VD->hasLocalStorage()) { in ActOnForStmt()
2267 if (!D->hasLocalStorage()) in ActOnObjCForCollectionStmt()
3368 if (!VD->hasLocalStorage()) return false; in isCopyElisionCandidate()
H A DSemaLambda.cpp1200 if (!Var->hasLocalStorage()) { in ActOnStartOfLambdaDefinition()
H A DSemaInit.cpp2017 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) { in CheckFlexibleArrayInit()
5470 return (var->hasLocalStorage() ? IIK_okay : IIK_nonlocal); in isInvalidICRSource()
7140 if (VD && VD->hasLocalStorage() && in visitLocalsRetainedByReferenceBinding()
7859 if (!VD || !VD->hasLocalStorage()) in CheckMoveOnConstruction()
H A DAnalysisBasedWarnings.cpp1408 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base)) in diagnoseRepeatedUseOfWeak()
H A DSemaOpenMP.cpp2188 if (VD && !VD->hasLocalStorage() && in isOpenMPCapturedDecl()
2250 (VD && VD->hasLocalStorage() && in isOpenMPCapturedDecl()
2257 (!VD || VD->hasLocalStorage() || !DVarTop.AppliedToPointee)) in isOpenMPCapturedDecl()
2272 if (VD && !VD->hasLocalStorage() && DVarPrivate.CKind == OMPC_unknown && in isOpenMPCapturedDecl()
2431 return VD && !VD->hasLocalStorage() && in isOpenMPTargetCapturedDecl()
2443 if (!VD->hasLocalStorage()) { in isOpenMPGlobalCapturedDecl()
2935 if (VD->hasLocalStorage()) { in VisitDeclRefExpr()
3484 if (VD->hasLocalStorage() && CS && !CS->capturesVariable(VD) && in VisitDeclRefExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp559 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
H A DReachableCode.cpp283 if (!VD->hasLocalStorage()) in isConfigurationValue()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp988 if (D->hasLocalStorage()) { in getVarRegion()
1591 if (!VD->hasAttr<BlocksAttr>() && VD->hasLocalStorage()) { in getCaptureRegions()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp318 REGISTER_MATCHER(hasLocalStorage); in RegistryMaps()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDecl.h1073 bool hasLocalStorage() const { in hasLocalStorage() function
1115 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage()
1119 return hasLocalStorage() ? SD_Automatic : in getStorageDuration()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DComputeDependence.cpp66 if (!VarD || !VarD->hasLocalStorage()) in computeDependence()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4217 AST_MATCHER(VarDecl, hasLocalStorage) { in AST_MATCHER() argument
4218 return Node.hasLocalStorage(); in AST_MATCHER()

12