/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UndefCapturedBlockVarChecker.cpp | 74 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) in checkPostStmt()
|
D | DeadStoresChecker.cpp | 212 if (!VD->hasLocalStorage()) in CheckVarDecl() 322 if (V->hasLocalStorage()) { in observeStmt()
|
/external/clang/lib/Analysis/ |
D | PseudoConstantAnalysis.cpp | 43 if (!VD->hasLocalStorage() && !VD->isStaticLocal()) in isPseudoConstant()
|
D | AnalysisDeclContext.cpp | 476 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
|
D | ReachableCode.cpp | 241 if (!VD->hasLocalStorage()) in isConfigurationValue()
|
/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 146 if (VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl() 163 if (S.Context.getLangOpts().CPlusPlus && VD->hasLocalStorage() && Init) { in GetDiagForGotoScopeDecl()
|
D | SemaDecl.cpp | 4934 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()
|
D | SemaStmt.cpp | 1597 if (VD && VD->isLocalVarDecl() && !VD->hasLocalStorage()) in ActOnForStmt() 1746 if (!D->hasLocalStorage()) in ActOnObjCForCollectionStmt() 2482 if (!VD->hasLocalStorage()) return false; in isCopyElisionCandidate()
|
D | SemaLambda.cpp | 1091 if (!Var->hasLocalStorage()) { in ActOnStartOfLambdaDefinition()
|
D | SemaDeclAttr.cpp | 1583 if (VD->hasLocalStorage()) { in handleUsedAttr() 2285 if (!VD->hasLocalStorage()) { in handleCleanupAttr() 3733 if (VD->hasLocalStorage()) { in handleDeclspecThreadAttr()
|
D | AnalysisBasedWarnings.cpp | 1234 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base)) in diagnoseRepeatedUseOfWeak()
|
D | SemaInit.cpp | 1493 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) { in CheckFlexibleArrayInit() 4390 return (var->hasLocalStorage() ? IIK_okay : IIK_nonlocal); in isInvalidICRSource()
|
D | SemaExpr.cpp | 8471 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/ |
D | RewriteScopedRefptr.cpp | 298 on(declRefExpr(to(id("var", varDecl(hasLocalStorage()))))); in main()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 199 REGISTER_MATCHER(hasLocalStorage); in RegistryMaps()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | MemRegion.cpp | 808 if (D->hasLocalStorage()) { in getVarRegion() 1364 if (!VD->hasAttr<BlocksAttr>() && VD->hasLocalStorage()) { in getCaptureRegions()
|
D | BugReporterVisitors.cpp | 445 assert(VR->getDecl()->hasLocalStorage()); in isInitializationOfVar()
|
D | RegionStore.cpp | 1016 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) { in VisitCluster()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2085 AST_MATCHER(VarDecl, hasLocalStorage) { in AST_MATCHER() argument 2086 return Node.hasLocalStorage(); in AST_MATCHER()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 868 if (!VD->hasLocalStorage()) { in EmitLValue() 984 if (!D.hasLocalStorage()) { in EmitConstantInit()
|
D | CGDecl.cpp | 145 assert(D.hasLocalStorage()); in EmitVarDecl()
|
D | CGBlocks.cpp | 1098 if (var && !var->hasLocalStorage()) in GenerateBlockFunction()
|
D | CGObjC.cpp | 277 return (var->hasLocalStorage() && in shouldExtendReceiverForInnerPointerMessage()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 822 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/ |
D | ExprConstant.cpp | 3132 if (!VD->hasLocalStorage()) in EvaluateDecl() 4403 if (VD->hasLocalStorage() && Info.CurrentCall->Index > 1) in VisitVarDecl() 8186 if (Ctx.getLangOpts().CPlusPlus && !VD->hasLocalStorage() && in EvaluateAsInitializer()
|