Home
last modified time | relevance | path

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

12

/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
DUndefCapturedBlockVarChecker.cpp74 if (VD->getAttr<BlocksAttr>() || !VD->hasLocalStorage()) in checkPostStmt()
DDeadStoresChecker.cpp209 if (!VD->hasLocalStorage()) in CheckVarDecl()
320 if (V->hasLocalStorage()) { in observeStmt()
DIdempotentOperationChecker.cpp722 if (!VD->hasLocalStorage()) in containsNonLocalVarDecl()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp43 if (!VD->hasLocalStorage() && !VD->isStaticLocal()) in isPseudoConstant()
DAnalysisDeclContext.cpp471 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
DJumpDiagnostics.cpp138 if (Context.getLangOpts().ObjCAutoRefCount && VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl()
152 if (Context.getLangOpts().CPlusPlus && VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl()
DSemaStmt.cpp1531 if (VD && VD->isLocalVarDecl() && !VD->hasLocalStorage()) in ActOnForStmt()
1679 if (!D->hasLocalStorage()) in ActOnObjCForCollectionStmt()
2404 if (!VD->hasLocalStorage()) return 0; in getCopyElisionCandidate()
DSemaDecl.cpp4771 else if (!var->hasLocalStorage()) in inferObjCARCLifetime()
5283 if (NewVD->hasLocalStorage()) { in ActOnVariableDeclarator()
5334 else if (NewVD->hasLocalStorage()) in ActOnVariableDeclarator()
5725 if (NewVD->hasLocalStorage() && T.getAddressSpace() != 0) { in CheckVariableDeclarationType()
5750 if (NewVD->hasLocalStorage() && T.isObjCGCWeak() in CheckVariableDeclarationType()
5816 if (!NewVD->hasLocalStorage() && NewVD->hasAttr<BlocksAttr>()) { in CheckVariableDeclarationType()
8201 if (VDecl->hasLocalStorage()) in AddInitializerToDecl()
8265 if (!VDecl->hasLocalStorage() || VDecl->getType()->isRecordType() || in AddInitializerToDecl()
8685 if (getLangOpts().CPlusPlus && Var->hasLocalStorage()) { in ActOnUninitializedDecl()
8777 var->hasLocalStorage()) { in CheckCompleteVariableDeclaration()
DSemaLambda.cpp992 if (!Var->hasLocalStorage()) { in ActOnStartOfLambdaDefinition()
DAnalysisBasedWarnings.cpp1078 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base)) in diagnoseRepeatedUseOfWeak()
DSemaDeclAttr.cpp2019 if (VD->hasLocalStorage()) { in handleUsedAttr()
2845 if (isa<VarDecl>(D) && cast<VarDecl>(D)->hasLocalStorage()) { in handleSectionAttr()
2887 if (!VD || !VD->hasLocalStorage()) { in handleCleanupAttr()
DSemaInit.cpp1379 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) { in CheckFlexibleArrayInit()
4271 return (var->hasLocalStorage() ? IIK_okay : IIK_nonlocal); in isInvalidICRSource()
DSemaChecking.cpp4103 if (V->hasLocalStorage() && in EvalAddr()
4260 if (V->hasLocalStorage()) { in EvalVal()
DSemaCodeComplete.cpp1221 return Var->hasLocalStorage() && !Var->hasAttr<BlocksAttr>(); in IsObjCMessageReceiverOrLambdaCapture()
4396 !Var->hasLocalStorage() || in CodeCompleteLambdaIntroducer()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp806 if (D->hasLocalStorage()) { in getVarRegion()
1366 if (!VD->getAttr<BlocksAttr>() && VD->hasLocalStorage()) { in getCaptureRegions()
DBugReporterVisitors.cpp445 assert(VR->getDecl()->hasLocalStorage()); in isInitializationOfVar()
DRegionStore.cpp1019 if (VD->getAttr<BlocksAttr>() || !VD->hasLocalStorage()) { in VisitCluster()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
DDecl.h825 bool hasLocalStorage() const { in hasLocalStorage() function
856 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage()
860 return hasLocalStorage() ? SD_Automatic : in getStorageDuration()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGExprConstant.cpp862 if (!VD->hasLocalStorage()) { in EmitLValue()
978 if (!D.hasLocalStorage()) { in EmitConstantInit()
DCGDecl.cpp151 assert(D.hasLocalStorage()); in EmitVarDecl()
DCGBlocks.cpp1101 if (var && !var->hasLocalStorage()) in GenerateBlockFunction()
DCGObjC.cpp280 return (var->hasLocalStorage() && in shouldExtendReceiverForInnerPointerMessage()
DCGExpr.cpp1815 bool isLocalStorage = VD->hasLocalStorage(); in EmitDeclRefLValue()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
DExprConstant.cpp3088 if (!VD->hasLocalStorage()) in EvaluateDecl()
4360 if (VD->hasLocalStorage() && Info.CurrentCall->Index > 1) in VisitVarDecl()
8121 if (Ctx.getLangOpts().CPlusPlus && !VD->hasLocalStorage() && in EvaluateAsInitializer()
DExpr.cpp2220 cast<VarDecl>(DRE->getDecl())->hasLocalStorage())) { in isUnusedResultAWarning()

12