Home
last modified time | relevance | path

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

12

/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DUndefCapturedBlockVarChecker.cpp74 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) in checkPostStmt()
H A DDeadStoresChecker.cpp212 if (!VD->hasLocalStorage()) in CheckVarDecl()
322 if (V->hasLocalStorage()) { in observeStmt()
/minix3/external/bsd/llvm/dist/clang/lib/Analysis/
H A DPseudoConstantAnalysis.cpp43 if (!VD->hasLocalStorage() && !VD->isStaticLocal()) in isPseudoConstant()
H A DAnalysisDeclContext.cpp483 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
H A DReachableCode.cpp241 if (!VD->hasLocalStorage()) in isConfigurationValue()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DJumpDiagnostics.cpp147 if (VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl()
164 if (S.Context.getLangOpts().CPlusPlus && VD->hasLocalStorage() && Init) { in GetDiagForGotoScopeDecl()
H A DSemaStmt.cpp1620 if (VD && VD->isLocalVarDecl() && !VD->hasLocalStorage()) in ActOnForStmt()
1774 if (!D->hasLocalStorage()) in ActOnObjCForCollectionStmt()
2510 if (!VD->hasLocalStorage()) return false; in isCopyElisionCandidate()
H A DSemaDecl.cpp5054 else if (!var->hasLocalStorage()) in inferObjCARCLifetime()
5637 if (NewVD->hasLocalStorage() && in ActOnVariableDeclarator()
5680 else if (NewVD->hasLocalStorage()) in ActOnVariableDeclarator()
6109 if (NewVD->hasLocalStorage() && T.getAddressSpace() != 0) { in CheckVariableDeclarationType()
6134 if (NewVD->hasLocalStorage() && T.isObjCGCWeak() in CheckVariableDeclarationType()
6200 if (!NewVD->hasLocalStorage() && NewVD->hasAttr<BlocksAttr>()) { in CheckVariableDeclarationType()
8779 if (VDecl->hasLocalStorage()) in AddInitializerToDecl()
8859 if (!VDecl->hasLocalStorage() || VDecl->getType()->isRecordType() || in AddInitializerToDecl()
9276 if (getLangOpts().CPlusPlus && Var->hasLocalStorage()) { in ActOnUninitializedDecl()
9399 var->hasLocalStorage()) { in CheckCompleteVariableDeclaration()
H A DSemaLambda.cpp1096 if (!Var->hasLocalStorage()) { in ActOnStartOfLambdaDefinition()
H A DSemaDeclAttr.cpp1684 if (VD->hasLocalStorage()) { in handleUsedAttr()
2358 if (!VD->hasLocalStorage()) { in handleCleanupAttr()
3912 if (VD->hasLocalStorage()) { in handleDeclspecThreadAttr()
H A DAnalysisBasedWarnings.cpp1227 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base)) in diagnoseRepeatedUseOfWeak()
H A DSemaOpenMP.cpp794 if (VD->hasLocalStorage()) { in VisitDeclRefExpr()
2475 if (!Var->hasLocalStorage() && DVar.CKind == OMPC_unknown) { in CheckOpenMPIterationSpace()
H A DSemaExpr.cpp8603 assert(var->hasLocalStorage() && "capture added 'const' to non-local?"); in isReferenceToNonConstCapture()
11826 else if (Var->hasLocalStorage()) { in getParentOfCapturingContextOrNull()
12290 bool IsGlobal = !Var->hasLocalStorage(); in tryCaptureVariable()
12679 Var->getDeclContext()->isFunctionOrMethod() && Var->hasLocalStorage()); in DoMarkVarDeclReferenced()
12919 if (VD->hasLocalStorage()) in VisitDeclRefExpr()
H A DSemaInit.cpp1506 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) { in CheckFlexibleArrayInit()
4368 return (var->hasLocalStorage() ? IIK_okay : IIK_nonlocal); in isInvalidICRSource()
/minix3/external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp203 REGISTER_MATCHER(hasLocalStorage); in RegistryMaps()
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp808 if (D->hasLocalStorage()) { in getVarRegion()
1353 if (!VD->hasAttr<BlocksAttr>() && VD->hasLocalStorage()) { in getCaptureRegions()
H A DBugReporterVisitors.cpp442 assert(VR->getDecl()->hasLocalStorage()); in isInitializationOfVar()
H A DRegionStore.cpp1017 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) { in VisitCluster()
/minix3/external/bsd/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2280 AST_MATCHER(VarDecl, hasLocalStorage) { in AST_MATCHER() argument
2281 return Node.hasLocalStorage(); in AST_MATCHER()
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGExprConstant.cpp889 if (!VD->hasLocalStorage()) { in EmitLValue()
1006 if (!D.hasLocalStorage()) { in EmitConstantInit()
H A DCGDecl.cpp145 assert(D.hasLocalStorage()); in EmitVarDecl()
H A DCGBlocks.cpp1120 if (var && !var->hasLocalStorage()) in GenerateBlockFunction()
H A DCGObjC.cpp273 return (var->hasLocalStorage() && in shouldExtendReceiverForInnerPointerMessage()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DDecl.h837 bool hasLocalStorage() const { in hasLocalStorage() function
872 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage()
876 return hasLocalStorage() ? SD_Automatic : in getStorageDuration()
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DExprConstant.cpp3217 if (!VD->hasLocalStorage()) in EvaluateDecl()
4515 if (VD->hasLocalStorage() && Info.CurrentCall->Index > 1) in VisitVarDecl()
8535 if (Ctx.getLangOpts().CPlusPlus && !VD->hasLocalStorage() && in EvaluateAsInitializer()

12