Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DUndefCapturedBlockVarChecker.cpp69 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) in checkPostStmt()
H A DDeadStoresChecker.cpp213 if (!VD->hasLocalStorage()) in CheckVarDecl()
325 if (V->hasLocalStorage()) { in observeStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DVarBypassDetector.cpp38 if (VD && VD->hasLocalStorage()) { in BuildScopeInformation()
H A DCGDeclCXX.cpp31 (D.hasLocalStorage() && CGF.getContext().getLangOpts().OpenCLCPlusPlus)) && in EmitDeclInit()
H A DCGExprConstant.cpp1449 if (!D.hasLocalStorage()) { in tryEmitPrivateForVarInit()
1746 if (!VD->hasLocalStorage()) { in tryEmitBase()
H A DCGException.cpp1686 if (D && D->isLocalVarDeclOrParm() && D->hasLocalStorage()) in VisitDeclRefExpr()
H A DCGDecl.cpp184 assert(D.hasLocalStorage()); in EmitVarDecl()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h189 else if (VD->hasLocalStorage()) in VisitVarRegion()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DJumpDiagnostics.cpp147 if (VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl()
171 if (S.Context.getLangOpts().CPlusPlus && VD->hasLocalStorage() && Init) { in GetDiagForGotoScopeDecl()
H A DSemaDecl.cpp5881 else if (!var->hasLocalStorage()) in inferObjCARCLifetime()
6632 if (NewVD->hasLocalStorage() && in ActOnVariableDeclarator()
6685 else if (NewVD->hasLocalStorage()) in ActOnVariableDeclarator()
7068 if (cast<VarDecl>(ShadowedDecl)->hasLocalStorage()) { in CheckShadow()
7311 if (!getLangOpts().OpenCL && NewVD->hasLocalStorage() && in CheckVariableDeclarationType()
7420 if (NewVD->hasLocalStorage() && T.isObjCGCWeak() in CheckVariableDeclarationType()
7494 if (!NewVD->hasLocalStorage() && NewVD->hasAttr<BlocksAttr>()) { in CheckVariableDeclarationType()
11083 if (VDecl->hasLocalStorage()) in AddInitializerToDecl()
11619 if (getLangOpts().CPlusPlus && Var->hasLocalStorage()) { in ActOnUninitializedDecl()
11754 var->hasLocalStorage()) { in CheckCompleteVariableDeclaration()
[all …]
H A DSemaStmt.cpp1757 if (VD && VD->isLocalVarDecl() && !VD->hasLocalStorage()) in ActOnForStmt()
1910 if (!D->hasLocalStorage()) in ActOnObjCForCollectionStmt()
2977 if (!VD->hasLocalStorage()) return false; in isCopyElisionCandidate()
H A DSemaLambda.cpp1122 if (!Var->hasLocalStorage()) { in ActOnStartOfLambdaDefinition()
H A DSemaDeclAttr.cpp4109 if (VD->hasLocalStorage()) { in mergeInternalLinkageAttr()
4133 if (VD->hasLocalStorage()) { in mergeInternalLinkageAttr()
4225 if (S.getLangOpts().CUDA && VD->hasLocalStorage() && in handleSharedAttr()
5323 if (VD->hasLocalStorage()) { in handleDeclspecThreadAttr()
6267 if (!VD->hasLocalStorage()) { in handleObjCExternallyRetainedAttr()
H A DSemaInit.cpp1836 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) { in CheckFlexibleArrayInit()
5151 return (var->hasLocalStorage() ? IIK_okay : IIK_nonlocal); in isInvalidICRSource()
6608 if (VD && VD->hasLocalStorage() && in visitLocalsRetainedByReferenceBinding()
7168 if (!VD || !VD->hasLocalStorage()) in CheckMoveOnConstruction()
H A DAnalysisBasedWarnings.cpp1385 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base)) in diagnoseRepeatedUseOfWeak()
H A DSemaOpenMP.cpp1576 if (VD && !VD->hasLocalStorage()) { in isOpenMPCapturedDecl()
1642 (VD && VD->hasLocalStorage() && in isOpenMPCapturedDecl()
1744 return VD && !VD->hasLocalStorage() && in isOpenMPTargetCapturedDecl()
2002 if (VD->hasLocalStorage()) { in VisitDeclRefExpr()
2229 if (VD->hasLocalStorage() && !CS->capturesVariable(VD)) in VisitDeclRefExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp546 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
H A DReachableCode.cpp282 if (!VD->hasLocalStorage()) in isConfigurationValue()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp891 if (D->hasLocalStorage()) { in getVarRegion()
1480 if (!VD->hasAttr<BlocksAttr>() && VD->hasLocalStorage()) { in getCaptureRegions()
H A DBugReporterVisitors.cpp1056 assert(VR->getDecl()->hasLocalStorage()); in isInitializationOfVar()
H A DRegionStore.cpp1070 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) { in VisitCluster()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp281 REGISTER_MATCHER(hasLocalStorage); in RegistryMaps()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDecl.h1036 bool hasLocalStorage() const { in hasLocalStorage() function
1078 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage()
1082 return hasLocalStorage() ? SD_Automatic : in getStorageDuration()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3398 AST_MATCHER(VarDecl, hasLocalStorage) { in AST_MATCHER() argument
3399 return Node.hasLocalStorage(); in AST_MATCHER()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DAttr.td81 [{S->hasLocalStorage() && !isa<ParmVarDecl>(S)}],
87 [{!S->hasLocalStorage()}],

12