/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UndefCapturedBlockVarChecker.cpp | 71 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 | 500 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
|
D | ReachableCode.cpp | 241 if (!VD->hasLocalStorage()) in isConfigurationValue()
|
/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 147 if (VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl() 167 if (S.Context.getLangOpts().CPlusPlus && VD->hasLocalStorage() && Init) { in GetDiagForGotoScopeDecl()
|
D | SemaStmt.cpp | 1618 if (VD && VD->isLocalVarDecl() && !VD->hasLocalStorage()) in ActOnForStmt() 1772 if (!D->hasLocalStorage()) in ActOnObjCForCollectionStmt() 2714 if (!VD->hasLocalStorage()) return false; in isCopyElisionCandidate()
|
D | SemaDecl.cpp | 5363 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()
|
D | SemaLambda.cpp | 1073 if (!Var->hasLocalStorage()) { in ActOnStartOfLambdaDefinition()
|
D | SemaDeclAttr.cpp | 1791 if (VD->hasLocalStorage()) { in handleUsedAttr() 2616 if (!VD->hasLocalStorage()) { in handleCleanupAttr() 3536 if (VD->hasLocalStorage()) { in mergeInternalLinkageAttr() 4434 if (VD->hasLocalStorage()) { in handleDeclspecThreadAttr()
|
D | SemaOpenMP.cpp | 846 if (!VD->hasLocalStorage()) { in IsOpenMPCapturedVar() 866 (VD->hasLocalStorage() && in IsOpenMPCapturedVar() 890 return !VD->hasLocalStorage() && in isOpenMPTargetCapturedVar() 1127 if (VD->hasLocalStorage()) { in VisitDeclRefExpr()
|
D | AnalysisBasedWarnings.cpp | 1238 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base)) in diagnoseRepeatedUseOfWeak()
|
D | SemaInit.cpp | 1656 } 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()
|
D | SemaExpr.cpp | 9231 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/ |
D | Registry.cpp | 222 REGISTER_MATCHER(hasLocalStorage); in RegistryMaps()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | MemRegion.cpp | 808 if (D->hasLocalStorage()) { in getVarRegion() 1369 if (!VD->hasAttr<BlocksAttr>() && VD->hasLocalStorage()) { in getCaptureRegions()
|
D | BugReporterVisitors.cpp | 441 assert(VR->getDecl()->hasLocalStorage()); in isInitializationOfVar()
|
D | RegionStore.cpp | 1022 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) { in VisitCluster()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2529 AST_MATCHER(VarDecl, hasLocalStorage) { in AST_MATCHER() argument 2530 return Node.hasLocalStorage(); in AST_MATCHER()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 890 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/ |
D | CGExprConstant.cpp | 990 if (!VD->hasLocalStorage()) { in EmitLValue() 1181 if (!D.hasLocalStorage()) { in EmitConstantInit()
|
D | CGDecl.cpp | 150 assert(D.hasLocalStorage()); in EmitVarDecl()
|
D | CGException.cpp | 1468 if (D && D->isLocalVarDeclOrParm() && D->hasLocalStorage()) in VisitDeclRefExpr()
|
D | CGBlocks.cpp | 1154 if (var && !var->hasLocalStorage()) in GenerateBlockFunction()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 3303 if (!VD->hasLocalStorage()) in EvaluateDecl() 4638 if (VD->hasLocalStorage() && Info.CurrentCall->Index > 1) in VisitVarDecl() 8920 if (Ctx.getLangOpts().CPlusPlus && !VD->hasLocalStorage() && in EvaluateAsInitializer()
|