Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Checkers/
DUndefCapturedBlockVarChecker.cpp74 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) in checkPostStmt()
DDeadStoresChecker.cpp212 if (!VD->hasLocalStorage()) in CheckVarDecl()
322 if (V->hasLocalStorage()) { in observeStmt()
/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp43 if (!VD->hasLocalStorage() && !VD->isStaticLocal()) in isPseudoConstant()
DAnalysisDeclContext.cpp476 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
DReachableCode.cpp241 if (!VD->hasLocalStorage()) in isConfigurationValue()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp146 if (VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl()
163 if (S.Context.getLangOpts().CPlusPlus && VD->hasLocalStorage() && Init) { in GetDiagForGotoScopeDecl()
DSemaDecl.cpp4934 else if (!var->hasLocalStorage()) in inferObjCARCLifetime()
5489 if (NewVD->hasLocalStorage()) { in ActOnVariableDeclarator()
5540 else if (NewVD->hasLocalStorage()) in ActOnVariableDeclarator()
5969 if (NewVD->hasLocalStorage() && T.getAddressSpace() != 0) { in CheckVariableDeclarationType()
5994 if (NewVD->hasLocalStorage() && T.isObjCGCWeak() in CheckVariableDeclarationType()
6060 if (!NewVD->hasLocalStorage() && NewVD->hasAttr<BlocksAttr>()) { in CheckVariableDeclarationType()
8446 if (VDecl->hasLocalStorage()) in AddInitializerToDecl()
8510 if (!VDecl->hasLocalStorage() || VDecl->getType()->isRecordType() || in AddInitializerToDecl()
8927 if (getLangOpts().CPlusPlus && Var->hasLocalStorage()) { in ActOnUninitializedDecl()
9050 var->hasLocalStorage()) { in CheckCompleteVariableDeclaration()
DSemaStmt.cpp1597 if (VD && VD->isLocalVarDecl() && !VD->hasLocalStorage()) in ActOnForStmt()
1746 if (!D->hasLocalStorage()) in ActOnObjCForCollectionStmt()
2482 if (!VD->hasLocalStorage()) return false; in isCopyElisionCandidate()
DSemaLambda.cpp1091 if (!Var->hasLocalStorage()) { in ActOnStartOfLambdaDefinition()
DSemaDeclAttr.cpp1583 if (VD->hasLocalStorage()) { in handleUsedAttr()
2285 if (!VD->hasLocalStorage()) { in handleCleanupAttr()
3733 if (VD->hasLocalStorage()) { in handleDeclspecThreadAttr()
DAnalysisBasedWarnings.cpp1234 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base)) in diagnoseRepeatedUseOfWeak()
DSemaInit.cpp1493 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) { in CheckFlexibleArrayInit()
4390 return (var->hasLocalStorage() ? IIK_okay : IIK_nonlocal); in isInvalidICRSource()
DSemaExpr.cpp8471 assert(var->hasLocalStorage() && "capture added 'const' to non-local?"); in isReferenceToNonConstCapture()
12106 if (!Var->hasLocalStorage()) return true; in tryCaptureVariable()
12449 Var->hasLocalStorage()); in DoMarkVarDeclReferenced()
12679 if (VD->hasLocalStorage()) in VisitDeclRefExpr()
/external/chromium_org/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp298 on(declRefExpr(to(id("var", varDecl(hasLocalStorage()))))); in main()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp199 REGISTER_MATCHER(hasLocalStorage); in RegistryMaps()
/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp808 if (D->hasLocalStorage()) { in getVarRegion()
1364 if (!VD->hasAttr<BlocksAttr>() && VD->hasLocalStorage()) { in getCaptureRegions()
DBugReporterVisitors.cpp445 assert(VR->getDecl()->hasLocalStorage()); in isInitializationOfVar()
DRegionStore.cpp1016 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) { in VisitCluster()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2085 AST_MATCHER(VarDecl, hasLocalStorage) { in AST_MATCHER() argument
2086 return Node.hasLocalStorage(); in AST_MATCHER()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp868 if (!VD->hasLocalStorage()) { in EmitLValue()
984 if (!D.hasLocalStorage()) { in EmitConstantInit()
DCGDecl.cpp145 assert(D.hasLocalStorage()); in EmitVarDecl()
DCGBlocks.cpp1098 if (var && !var->hasLocalStorage()) in GenerateBlockFunction()
DCGObjC.cpp277 return (var->hasLocalStorage() && in shouldExtendReceiverForInnerPointerMessage()
/external/clang/include/clang/AST/
DDecl.h822 bool hasLocalStorage() const { in hasLocalStorage() function
857 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage()
861 return hasLocalStorage() ? SD_Automatic : in getStorageDuration()
/external/clang/lib/AST/
DExprConstant.cpp3132 if (!VD->hasLocalStorage()) in EvaluateDecl()
4403 if (VD->hasLocalStorage() && Info.CurrentCall->Index > 1) in VisitVarDecl()
8186 if (Ctx.getLangOpts().CPlusPlus && !VD->hasLocalStorage() && in EvaluateAsInitializer()

12