| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | InitVariablesCheck.cpp | 43 isLocalVarDecl(), unless(isStaticLocal()), isDefinition(), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | DefinitionsInHeadersCheck.cpp | 147 if (VD->hasLocalStorage() || VD->isStaticLocal()) in check()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MacOSXAPIChecker.cpp | 102 if (VD->isStaticLocal()) in CheckDispatchOnce()
|
| H A D | MallocChecker.cpp | 2196 if (VD->isStaticLocal()) in SummarizeRegion()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerHelpers.cpp | 57 if (VD->isStaticLocal()) in containsStaticLocal()
|
| H A D | MemRegion.cpp | 979 if (D->hasGlobalStorage() && !D->isStaticLocal()) { in getVarRegion() 1015 assert(D->isStaticLocal()); in getVarRegion()
|
| H A D | BugReporterVisitors.cpp | 1261 assert(VR->getDecl()->isStaticLocal() && "non-static stackless VarRegion"); in isInitializationOfVar()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Checkers/ |
| H A D | SValExplainer.h | 196 else if (VD->isStaticLocal()) in VisitNonParamVarRegion()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTCommon.cpp | 473 return VD->isStaticLocal(); in needsAnonymousDeclarationNumber()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | IdentifierNamingCheck.cpp | 1221 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 D | Registry.cpp | 459 REGISTER_MATCHER(isStaticLocal); in RegistryMaps()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ODRHash.cpp | 296 Hash.AddBoolean(D->isStaticLocal()); in VisitVarDecl()
|
| H A D | Decl.cpp | 1327 if (!Var->isStaticLocal()) in getLVForLocalDecl() 1359 assert(cast<VarDecl>(D)->isStaticLocal()); in getLVForLocalDecl()
|
| H A D | MicrosoftMangle.cpp | 628 else if (!VD->isStaticLocal()) in mangleVariableEncoding()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | SemanticHighlighting.cpp | 228 return VD->isStaticDataMember() || VD->isStaticLocal(); in isStatic()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 5652 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 D | SemaTemplateInstantiateDecl.cpp | 1172 if (Var->isStaticLocal()) in VisitVarDecl()
|
| H A D | SemaDeclCXX.cpp | 1892 if (VD->isStaticLocal()) { in CheckConstexprDeclStmt() 15662 if (!VD->isStaticLocal()) in FinalizeVarWithDestructor()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 4297 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 D | Decl.h | 1123 bool isStaticLocal() const { in isStaticLocal() function
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNarrowingTest.cpp | 1435 auto M = varDecl(isStaticLocal()); in TEST_P()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | CFG.cpp | 2909 if (BuildOpts.AddStaticInitBranches && VD->isStaticLocal()) { in VisitDeclSubExpr()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | MicrosoftCXXABI.cpp | 2583 if (!D.isStaticLocal()) { in EmitGuardedInit()
|
| H A D | ItaniumCXXABI.cpp | 2723 assert(!VD->isStaticLocal() && "static local VarDecls don't need wrappers!"); in isThreadWrapperReplaceable()
|
| H A D | CGExpr.cpp | 2875 } else if (VD->isStaticLocal()) { in EmitDeclRefLValue()
|