Home
last modified time | relevance | path

Searched refs:isStaticLocal (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DInitVariablesCheck.cpp43 isLocalVarDecl(), unless(isStaticLocal()), isDefinition(), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DDefinitionsInHeadersCheck.cpp147 if (VD->hasLocalStorage() || VD->isStaticLocal()) in check()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSXAPIChecker.cpp102 if (VD->isStaticLocal()) in CheckDispatchOnce()
H A DMallocChecker.cpp2196 if (VD->isStaticLocal()) in SummarizeRegion()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp57 if (VD->isStaticLocal()) in containsStaticLocal()
H A DMemRegion.cpp979 if (D->hasGlobalStorage() && !D->isStaticLocal()) { in getVarRegion()
1015 assert(D->isStaticLocal()); in getVarRegion()
H A DBugReporterVisitors.cpp1261 assert(VR->getDecl()->isStaticLocal() && "non-static stackless VarRegion"); in isInitializationOfVar()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h196 else if (VD->isStaticLocal()) in VisitNonParamVarRegion()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTCommon.cpp473 return VD->isStaticLocal(); in needsAnonymousDeclarationNumber()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DIdentifierNamingCheck.cpp1221 if (Decl->isStaticLocal() && NamingStyles[SK_StaticConstant]) in findStyleKind()
1248 if (Decl->isStaticLocal() && NamingStyles[SK_StaticVariable]) in findStyleKind()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp459 REGISTER_MATCHER(isStaticLocal); in RegistryMaps()
/llvm-project-15.0.7/clang/lib/AST/
H A DODRHash.cpp296 Hash.AddBoolean(D->isStaticLocal()); in VisitVarDecl()
H A DDecl.cpp1327 if (!Var->isStaticLocal()) in getLVForLocalDecl()
1359 assert(cast<VarDecl>(D)->isStaticLocal()); in getLVForLocalDecl()
H A DMicrosoftMangle.cpp628 else if (!VD->isStaticLocal()) in mangleVariableEncoding()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSemanticHighlighting.cpp228 return VD->isStaticDataMember() || VD->isStaticLocal(); in isStatic()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp5652 if (getLangOpts().CPlusPlus && NewVD->isStaticLocal()) { in BuildAnonymousStructOrUnion()
7204 if (NewVD->hasGlobalStorage() && !NewVD->isStaticLocal()) { in diagnoseOpenCLTypes()
7908 if (getLangOpts().CPlusPlus && NewVD->isStaticLocal()) { in ActOnVariableDeclarator()
8365 NewVD->isStaticLocal()) { in CheckVariableDeclarationType()
8398 if (NewVD->isFileVarDecl() || NewVD->isStaticLocal() || in CheckVariableDeclarationType()
8502 else if (NewVD->isStaticLocal()) in CheckVariableDeclarationType()
12142 } else if (cast<VarDecl>(OrigDecl)->isStaticLocal()) { in HandleDeclRefExpr()
13664 bool IsGlobal = GlobalStorage && !var->isStaticLocal(); in CheckCompleteVariableDeclaration()
13811 assert(VD->isStaticLocal()); in CheckStaticLocalForDllExport()
13906 if (VD->isStaticLocal()) in FinalizeDeclaration()
[all …]
H A DSemaTemplateInstantiateDecl.cpp1172 if (Var->isStaticLocal()) in VisitVarDecl()
H A DSemaDeclCXX.cpp1892 if (VD->isStaticLocal()) { in CheckConstexprDeclStmt()
15662 if (!VD->isStaticLocal()) in FinalizeVarWithDestructor()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4297 AST_MATCHER(VarDecl, isStaticLocal) { in AST_MATCHER() argument
4298 return Node.isStaticLocal(); in AST_MATCHER()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDecl.h1123 bool isStaticLocal() const { in isStaticLocal() function
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNarrowingTest.cpp1435 auto M = varDecl(isStaticLocal()); in TEST_P()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp2909 if (BuildOpts.AddStaticInitBranches && VD->isStaticLocal()) { in VisitDeclSubExpr()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp2583 if (!D.isStaticLocal()) { in EmitGuardedInit()
H A DItaniumCXXABI.cpp2723 assert(!VD->isStaticLocal() && "static local VarDecls don't need wrappers!"); in isThreadWrapperReplaceable()
H A DCGExpr.cpp2875 } else if (VD->isStaticLocal()) { in EmitDeclRefLValue()

12