|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
gen/tools/clang/include/clang/Sema/AttrParsedAttrImpl.inc 770 return S->hasLocalStorage() && !isa<ParmVarDecl>(S);
3012 return !S->hasLocalStorage();
tools/clang/include/clang/AST/Decl.h 1093 bool hasGlobalStorage() const { return !hasLocalStorage(); }
1097 return hasLocalStorage() ? SD_Automatic :
tools/clang/include/clang/ASTMatchers/ASTMatchers.h 3593 return Node.hasLocalStorage();
tools/clang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h 188 else if (VD->hasLocalStorage())
tools/clang/lib/AST/Expr.cpp 2675 cast<VarDecl>(DRE->getDecl())->hasLocalStorage()) &&
tools/clang/lib/AST/ExprConstant.cpp 4286 if (!VD->hasLocalStorage())
4568 if (VD->hasLocalStorage() && !VD->getInit())
7430 if (VD->hasLocalStorage() && Info.CurrentCall->Index > 1) {
13641 if (Ctx.getLangOpts().CPlusPlus && !VD->hasLocalStorage() &&
tools/clang/lib/AST/Interp/ByteCodeExprGen.cpp 382 if (VD->hasLocalStorage() && VD->hasInit() && !VD->isConstexpr()) {
489 if (!VD->hasLocalStorage()) {
tools/clang/lib/AST/Interp/ByteCodeStmtGen.cpp 233 if (!VD->hasLocalStorage()) {
tools/clang/lib/AST/Interp/Program.cpp 144 IsStatic = !Var->hasLocalStorage();
tools/clang/lib/Analysis/AnalysisDeclContext.cpp 601 if (!VD->hasLocalStorage()) {
tools/clang/lib/Analysis/ReachableCode.cpp 282 if (!VD->hasLocalStorage())
tools/clang/lib/CodeGen/CGBlocks.cpp 1533 if (var && !var->hasLocalStorage())
tools/clang/lib/CodeGen/CGDecl.cpp 191 assert(D.hasLocalStorage());
tools/clang/lib/CodeGen/CGDeclCXX.cpp 31 (D.hasLocalStorage() && CGF.getContext().getLangOpts().OpenCLCPlusPlus)) &&
tools/clang/lib/CodeGen/CGException.cpp 1683 if (D && D->isLocalVarDeclOrParm() && D->hasLocalStorage())
tools/clang/lib/CodeGen/CGExpr.cpp 2479 if (VD->hasLocalStorage()) {
2648 bool isLocalStorage = VD->hasLocalStorage();
tools/clang/lib/CodeGen/CGExprConstant.cpp 1600 if (!D.hasLocalStorage()) {
1875 if (!VD->hasLocalStorage()) {
tools/clang/lib/CodeGen/CGObjC.cpp 324 return (var->hasLocalStorage() &&
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 5184 if (!VD->hasLocalStorage() && !CGF.LocalDeclMap.count(VD)) {
tools/clang/lib/CodeGen/VarBypassDetector.cpp 37 if (VD && VD->hasLocalStorage()) {
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 4033 return (Var->isFunctionOrMethodVarDecl() && !Var->hasLocalStorage());
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 3247 return (Var->isFunctionOrMethodVarDecl() && !Var->hasLocalStorage());
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp 1398 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base))
tools/clang/lib/Sema/JumpDiagnostics.cpp 149 if (VD->hasLocalStorage()) {
173 if (S.Context.getLangOpts().CPlusPlus && VD->hasLocalStorage() && Init) {
tools/clang/lib/Sema/SemaCodeComplete.cpp 1551 return Var->hasLocalStorage() && !Var->hasAttr<BlocksAttr>();
5742 if (!Var || !Var->hasLocalStorage() || Var->hasAttr<BlocksAttr>())
tools/clang/lib/Sema/SemaDecl.cpp 6085 else if (!var->hasLocalStorage())
6654 NewVD->hasLocalStorage())
6846 if (NewVD->hasLocalStorage() &&
6931 else if (NewVD->hasLocalStorage())
7316 if (cast<VarDecl>(ShadowedDecl)->hasLocalStorage()) {
7559 if (!getLangOpts().OpenCL && NewVD->hasLocalStorage() &&
7670 if (NewVD->hasLocalStorage() && T.isObjCGCWeak()
7744 if (!NewVD->hasLocalStorage() && NewVD->hasAttr<BlocksAttr>()) {
11654 if (VDecl->hasLocalStorage())
11732 if (!VDecl->hasLocalStorage() || VDecl->getType()->isRecordType() ||
11824 if (VDecl->hasLocalStorage())
12219 if (getLangOpts().CPlusPlus && Var->hasLocalStorage()) {
12357 var->hasLocalStorage()) {
12371 if (var->hasLocalStorage() &&
tools/clang/lib/Sema/SemaDeclAttr.cpp 4090 if (VD->hasLocalStorage()) {
4113 if (VD->hasLocalStorage()) {
4214 if (S.getLangOpts().CUDA && VD->hasLocalStorage() &&
5393 if (VD->hasLocalStorage()) {
6371 if (!VD->hasLocalStorage()) {
tools/clang/lib/Sema/SemaExpr.cpp 3101 if (DD && DD->hasLocalStorage())
11468 assert(var->hasLocalStorage() && "capture added 'const' to non-local?");
12895 if (VD->hasLocalStorage() && getCurScope()->isDeclScope(VD))
15734 else if (Var->hasLocalStorage()) {
16051 bool IsGlobal = !Var->hasLocalStorage();
16831 Var->getDeclContext()->isFunctionOrMethod() && Var->hasLocalStorage());
17015 if (VD->hasLocalStorage())
tools/clang/lib/Sema/SemaExprCXX.cpp 737 if (Var->hasLocalStorage() && !Var->getType().isVolatileQualified()) {
tools/clang/lib/Sema/SemaInit.cpp 1974 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) {
5363 return (var->hasLocalStorage() ? IIK_okay : IIK_nonlocal);
6965 if (VD && VD->hasLocalStorage() &&
7618 if (!VD || !VD->hasLocalStorage())
tools/clang/lib/Sema/SemaLambda.cpp 1187 if (!Var->hasLocalStorage()) {
tools/clang/lib/Sema/SemaOpenMP.cpp 1912 if (VD && !VD->hasLocalStorage() &&
1952 (VD && VD->hasLocalStorage() &&
2075 return VD && !VD->hasLocalStorage() &&
2400 if (VD->hasLocalStorage()) {
2803 if (VD->hasLocalStorage() && CS && !CS->capturesVariable(VD))
tools/clang/lib/Sema/SemaStmt.cpp 1777 if (VD && VD->isLocalVarDecl() && !VD->hasLocalStorage())
1925 if (!D->hasLocalStorage())
3004 if (!VD->hasLocalStorage()) return false;
tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp 271 if (!VD->hasLocalStorage())
383 if (V->hasLocalStorage()) {
tools/clang/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp 68 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage())
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp 1238 assert(VR->getDecl()->hasLocalStorage());
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp 891 if (D->hasLocalStorage()) {
1483 if (!VD->hasAttr<BlocksAttr>() && VD->hasLocalStorage()) {
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 1116 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) {
tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.cpp 144 if (VD->hasLocalStorage() || VD->isStaticLocal())