Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Checkers/
DUndefCapturedBlockVarChecker.cpp71 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.cpp500 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
DReachableCode.cpp241 if (!VD->hasLocalStorage()) in isConfigurationValue()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp147 if (VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl()
167 if (S.Context.getLangOpts().CPlusPlus && VD->hasLocalStorage() && Init) { in GetDiagForGotoScopeDecl()
DSemaStmt.cpp1618 if (VD && VD->isLocalVarDecl() && !VD->hasLocalStorage()) in ActOnForStmt()
1772 if (!D->hasLocalStorage()) in ActOnObjCForCollectionStmt()
2714 if (!VD->hasLocalStorage()) return false; in isCopyElisionCandidate()
DSemaDecl.cpp5363 else if (!var->hasLocalStorage()) in inferObjCARCLifetime()
6011 if (NewVD->hasLocalStorage() && in ActOnVariableDeclarator()
6064 else if (NewVD->hasLocalStorage()) in ActOnVariableDeclarator()
6529 && NewVD->hasLocalStorage() && T.getAddressSpace() != 0) { in CheckVariableDeclarationType()
6601 if (NewVD->hasLocalStorage() && T.isObjCGCWeak() in CheckVariableDeclarationType()
6667 if (!NewVD->hasLocalStorage() && NewVD->hasAttr<BlocksAttr>()) { in CheckVariableDeclarationType()
9320 if (VDecl->hasLocalStorage()) in AddInitializerToDecl()
9401 if (!VDecl->hasLocalStorage() || VDecl->getType()->isRecordType() || in AddInitializerToDecl()
9829 if (getLangOpts().CPlusPlus && Var->hasLocalStorage()) { in ActOnUninitializedDecl()
9948 var->hasLocalStorage()) { in CheckCompleteVariableDeclaration()
DSemaLambda.cpp1073 if (!Var->hasLocalStorage()) { in ActOnStartOfLambdaDefinition()
DSemaDeclAttr.cpp1791 if (VD->hasLocalStorage()) { in handleUsedAttr()
2616 if (!VD->hasLocalStorage()) { in handleCleanupAttr()
3536 if (VD->hasLocalStorage()) { in mergeInternalLinkageAttr()
4434 if (VD->hasLocalStorage()) { in handleDeclspecThreadAttr()
DSemaOpenMP.cpp846 if (!VD->hasLocalStorage()) { in IsOpenMPCapturedVar()
866 (VD->hasLocalStorage() && in IsOpenMPCapturedVar()
890 return !VD->hasLocalStorage() && in isOpenMPTargetCapturedVar()
1127 if (VD->hasLocalStorage()) { in VisitDeclRefExpr()
DAnalysisBasedWarnings.cpp1238 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base)) in diagnoseRepeatedUseOfWeak()
DSemaInit.cpp1656 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) { in CheckFlexibleArrayInit()
4660 return (var->hasLocalStorage() ? IIK_okay : IIK_nonlocal); in isInvalidICRSource()
5990 if (!VD || !VD->hasLocalStorage()) in CheckMoveOnConstruction()
DSemaExpr.cpp9231 assert(var->hasLocalStorage() && "capture added 'const' to non-local?"); in isReferenceToNonConstCapture()
12667 else if (Var->hasLocalStorage()) { in getParentOfCapturingContextOrNull()
13033 bool IsGlobal = !Var->hasLocalStorage(); in tryCaptureVariable()
13445 Var->getDeclContext()->isFunctionOrMethod() && Var->hasLocalStorage()); in DoMarkVarDeclReferenced()
13686 if (VD->hasLocalStorage()) in VisitDeclRefExpr()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp222 REGISTER_MATCHER(hasLocalStorage); in RegistryMaps()
/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp808 if (D->hasLocalStorage()) { in getVarRegion()
1369 if (!VD->hasAttr<BlocksAttr>() && VD->hasLocalStorage()) { in getCaptureRegions()
DBugReporterVisitors.cpp441 assert(VR->getDecl()->hasLocalStorage()); in isInitializationOfVar()
DRegionStore.cpp1022 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) { in VisitCluster()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2529 AST_MATCHER(VarDecl, hasLocalStorage) { in AST_MATCHER() argument
2530 return Node.hasLocalStorage(); in AST_MATCHER()
/external/clang/include/clang/AST/
DDecl.h890 bool hasLocalStorage() const { in hasLocalStorage() function
925 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage()
929 return hasLocalStorage() ? SD_Automatic : in getStorageDuration()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp990 if (!VD->hasLocalStorage()) { in EmitLValue()
1181 if (!D.hasLocalStorage()) { in EmitConstantInit()
DCGDecl.cpp150 assert(D.hasLocalStorage()); in EmitVarDecl()
DCGException.cpp1468 if (D && D->isLocalVarDeclOrParm() && D->hasLocalStorage()) in VisitDeclRefExpr()
DCGBlocks.cpp1154 if (var && !var->hasLocalStorage()) in GenerateBlockFunction()
/external/clang/lib/AST/
DExprConstant.cpp3303 if (!VD->hasLocalStorage()) in EvaluateDecl()
4638 if (VD->hasLocalStorage() && Info.CurrentCall->Index > 1) in VisitVarDecl()
8920 if (Ctx.getLangOpts().CPlusPlus && !VD->hasLocalStorage() && in EvaluateAsInitializer()

12