Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Checkers/
DUndefCapturedBlockVarChecker.cpp74 if (VD->getAttr<BlocksAttr>() || !VD->hasLocalStorage()) in checkPostStmt()
DDeadStoresChecker.cpp210 if (!VD->hasLocalStorage()) in CheckVarDecl()
321 if (V->hasLocalStorage()) { in observeStmt()
DIdempotentOperationChecker.cpp722 if (!VD->hasLocalStorage()) in containsNonLocalVarDecl()
/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp43 if (!VD->hasLocalStorage() && !VD->isStaticLocal()) in isPseudoConstant()
DAnalysisDeclContext.cpp471 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp138 if (Context.getLangOpts().ObjCAutoRefCount && VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl()
152 if (Context.getLangOpts().CPlusPlus && VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl()
DSemaStmt.cpp1534 if (VD && VD->isLocalVarDecl() && !VD->hasLocalStorage()) in ActOnForStmt()
1682 if (!D->hasLocalStorage()) in ActOnObjCForCollectionStmt()
2364 if (!VD->hasLocalStorage()) return 0; in getCopyElisionCandidate()
DSemaDecl.cpp4635 else if (!var->hasLocalStorage()) in inferObjCARCLifetime()
5113 if (NewVD->hasLocalStorage()) { in ActOnVariableDeclarator()
5164 else if (NewVD->hasLocalStorage()) in ActOnVariableDeclarator()
5578 if (NewVD->hasLocalStorage() && T.getAddressSpace() != 0) { in CheckVariableDeclarationType()
5603 if (NewVD->hasLocalStorage() && T.isObjCGCWeak() in CheckVariableDeclarationType()
5669 if (!NewVD->hasLocalStorage() && NewVD->hasAttr<BlocksAttr>()) { in CheckVariableDeclarationType()
7994 if (VDecl->hasLocalStorage()) in AddInitializerToDecl()
8058 if (!VDecl->hasLocalStorage() || VDecl->getType()->isRecordType() || in AddInitializerToDecl()
8477 if (getLangOpts().CPlusPlus && Var->hasLocalStorage()) { in ActOnUninitializedDecl()
8569 var->hasLocalStorage()) { in CheckCompleteVariableDeclaration()
DSemaLambda.cpp741 if (!Var->hasLocalStorage()) { in ActOnStartOfLambdaDefinition()
DAnalysisBasedWarnings.cpp1047 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base)) in diagnoseRepeatedUseOfWeak()
DSemaDeclAttr.cpp1884 if (VD->hasLocalStorage() || VD->hasExternalStorage()) { in handleUsedAttr()
2814 if (isa<VarDecl>(D) && cast<VarDecl>(D)->hasLocalStorage()) { in handleSectionAttr()
2888 if (!VD || !VD->hasLocalStorage()) { in handleCleanupAttr()
DSemaInit.cpp1370 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) { in CheckFlexibleArrayInit()
4211 return (var->hasLocalStorage() ? IIK_okay : IIK_nonlocal); in isInvalidICRSource()
DSemaChecking.cpp3995 if (V->hasLocalStorage() && in EvalAddr()
4152 if (V->hasLocalStorage()) { in EvalVal()
DSemaCodeComplete.cpp1218 return Var->hasLocalStorage() && !Var->hasAttr<BlocksAttr>(); in IsObjCMessageReceiverOrLambdaCapture()
4394 !Var->hasLocalStorage() || in CodeCompleteLambdaIntroducer()
/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp797 if (D->hasLocalStorage()) { in getVarRegion()
1356 if (!VD->getAttr<BlocksAttr>() && VD->hasLocalStorage()) { in getCaptureRegions()
DBugReporterVisitors.cpp445 assert(VR->getDecl()->hasLocalStorage()); in isInitializationOfVar()
DRegionStore.cpp1013 if (VD->getAttr<BlocksAttr>() || !VD->hasLocalStorage()) { in VisitCluster()
/external/clang/include/clang/AST/
DDecl.h809 bool hasLocalStorage() const { in hasLocalStorage() function
839 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage()
843 return hasLocalStorage() ? SD_Automatic : in getStorageDuration()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp883 if (!VD->hasLocalStorage()) { in EmitLValue()
999 if (!D.hasLocalStorage()) { in EmitConstantInit()
DCGDecl.cpp150 assert(D.hasLocalStorage()); in EmitVarDecl()
DCGBlocks.cpp1103 if (var && !var->hasLocalStorage()) in GenerateBlockFunction()
DCGObjC.cpp279 return (var->hasLocalStorage() && in shouldExtendReceiverForInnerPointerMessage()
DCGExpr.cpp1801 bool isLocalStorage = VD->hasLocalStorage(); in EmitDeclRefLValue()
DCGExprScalar.cpp2952 if (VD->hasLocalStorage() && !(CGF.getContext() in isCheapEnoughToEvaluateUnconditionally()
/external/clang/lib/AST/
DExprConstant.cpp2984 if (!VD->hasLocalStorage()) in EvaluateDecl()
4251 if (VD->hasLocalStorage() && Info.CurrentCall->Index > 1) in VisitVarDecl()
7962 if (Ctx.getLangOpts().CPlusPlus && !VD->hasLocalStorage() && in EvaluateAsInitializer()

12