Searched refs:hasLocalStorage (Results 1 – 25 of 29) sorted by relevance
12
74 if (VD->getAttr<BlocksAttr>() || !VD->hasLocalStorage()) in checkPostStmt()
209 if (!VD->hasLocalStorage()) in CheckVarDecl()320 if (V->hasLocalStorage()) { in observeStmt()
722 if (!VD->hasLocalStorage()) in containsNonLocalVarDecl()
43 if (!VD->hasLocalStorage() && !VD->isStaticLocal()) in isPseudoConstant()
471 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
138 if (Context.getLangOpts().ObjCAutoRefCount && VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl()152 if (Context.getLangOpts().CPlusPlus && VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl()
1531 if (VD && VD->isLocalVarDecl() && !VD->hasLocalStorage()) in ActOnForStmt()1679 if (!D->hasLocalStorage()) in ActOnObjCForCollectionStmt()2404 if (!VD->hasLocalStorage()) return 0; in getCopyElisionCandidate()
4771 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()
992 if (!Var->hasLocalStorage()) { in ActOnStartOfLambdaDefinition()
1078 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base)) in diagnoseRepeatedUseOfWeak()
2019 if (VD->hasLocalStorage()) { in handleUsedAttr()2845 if (isa<VarDecl>(D) && cast<VarDecl>(D)->hasLocalStorage()) { in handleSectionAttr()2887 if (!VD || !VD->hasLocalStorage()) { in handleCleanupAttr()
1379 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) { in CheckFlexibleArrayInit()4271 return (var->hasLocalStorage() ? IIK_okay : IIK_nonlocal); in isInvalidICRSource()
4103 if (V->hasLocalStorage() && in EvalAddr()4260 if (V->hasLocalStorage()) { in EvalVal()
1221 return Var->hasLocalStorage() && !Var->hasAttr<BlocksAttr>(); in IsObjCMessageReceiverOrLambdaCapture()4396 !Var->hasLocalStorage() || in CodeCompleteLambdaIntroducer()
806 if (D->hasLocalStorage()) { in getVarRegion()1366 if (!VD->getAttr<BlocksAttr>() && VD->hasLocalStorage()) { in getCaptureRegions()
445 assert(VR->getDecl()->hasLocalStorage()); in isInitializationOfVar()
1019 if (VD->getAttr<BlocksAttr>() || !VD->hasLocalStorage()) { in VisitCluster()
825 bool hasLocalStorage() const { in hasLocalStorage() function856 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage()860 return hasLocalStorage() ? SD_Automatic : in getStorageDuration()
862 if (!VD->hasLocalStorage()) { in EmitLValue()978 if (!D.hasLocalStorage()) { in EmitConstantInit()
151 assert(D.hasLocalStorage()); in EmitVarDecl()
1101 if (var && !var->hasLocalStorage()) in GenerateBlockFunction()
280 return (var->hasLocalStorage() && in shouldExtendReceiverForInnerPointerMessage()
1815 bool isLocalStorage = VD->hasLocalStorage(); in EmitDeclRefLValue()
3088 if (!VD->hasLocalStorage()) in EvaluateDecl()4360 if (VD->hasLocalStorage() && Info.CurrentCall->Index > 1) in VisitVarDecl()8121 if (Ctx.getLangOpts().CPlusPlus && !VD->hasLocalStorage() && in EvaluateAsInitializer()
2220 cast<VarDecl>(DRE->getDecl())->hasLocalStorage())) { in isUnusedResultAWarning()