Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp53 if (VD->isStaticLocal()) in containsStaticLocal()
DMemRegion.cpp825 if (D->hasGlobalStorage() && !D->isStaticLocal()) { in getVarRegion()
870 assert(D->isStaticLocal()); in getVarRegion()
DBugReporterVisitors.cpp441 assert(VR->getDecl()->isStaticLocal() && "non-static stackless VarRegion"); in isInitializationOfVar()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DInitVariablesCheck.cpp42 isLocalVarDecl(), unless(isStaticLocal()), isDefinition(), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DDefinitionsInHeadersCheck.cpp144 if (VD->hasLocalStorage() || VD->isStaticLocal()) in check()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DMacOSXAPIChecker.cpp102 if (VD->isStaticLocal()) in CheckDispatchOnce()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp57 if (VD->isStaticLocal()) in containsStaticLocal()
DMemRegion.cpp953 if (D->hasGlobalStorage() && !D->isStaticLocal()) { in getVarRegion()
1000 assert(D->isStaticLocal()); in getVarRegion()
DBugReporterVisitors.cpp1233 assert(VR->getDecl()->isStaticLocal() && "non-static stackless VarRegion"); in isInitializationOfVar()
/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp41 if (!VD->hasLocalStorage() && !VD->isStaticLocal()) in isPseudoConstant()
/external/clang/include/clang/StaticAnalyzer/Checkers/
DSValExplainer.h181 else if (VD->isStaticLocal()) in VisitVarRegion()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
DSValExplainer.h192 else if (VD->isStaticLocal()) in VisitNonParamVarRegion()
/external/llvm-project/clang/lib/Serialization/
DASTCommon.cpp462 return VD->isStaticLocal(); in needsAnonymousDeclarationNumber()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DIdentifierNamingCheck.cpp564 if (Decl->isStaticLocal() && NamingStyles[SK_StaticConstant]) in findStyleKind()
589 if (Decl->isStaticLocal() && NamingStyles[SK_StaticVariable]) in findStyleKind()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp424 REGISTER_MATCHER(isStaticLocal); in RegistryMaps()
/external/llvm-project/clang/lib/AST/
DODRHash.cpp295 Hash.AddBoolean(D->isStaticLocal()); in VisitVarDecl()
DDecl.cpp1272 if (!Var->isStaticLocal()) in getLVForLocalDecl()
1304 assert(cast<VarDecl>(D)->isStaticLocal()); in getLVForLocalDecl()
/external/clang/lib/Sema/
DSemaDecl.cpp4483 if (getLangOpts().CPlusPlus && NewVD->isStaticLocal()) { in BuildAnonymousStructOrUnion()
5576 if (!ND.isExternallyVisible() || (VD && VD->isStaticLocal())) { in checkAttributesAfterMerging()
6468 if (getLangOpts().CPlusPlus && NewVD->isStaticLocal()) { in ActOnVariableDeclarator()
6794 NewVD->isStaticLocal()) { in CheckVariableDeclarationType()
6838 if (NewVD->isFileVarDecl() || NewVD->isStaticLocal() || in CheckVariableDeclarationType()
6844 int Scope = NewVD->isStaticLocal() | NewVD->hasExternalStorage() << 1; in CheckVariableDeclarationType()
6911 else if (NewVD->isStaticLocal()) in CheckVariableDeclarationType()
9379 } else if (cast<VarDecl>(OrigDecl)->isStaticLocal()) { in HandleDeclRefExpr()
10428 bool IsGlobal = GlobalStorage && !var->isStaticLocal(); in CheckCompleteVariableDeclaration()
10514 if (VD->isStaticLocal()) { in FinalizeDeclaration()
[all …]
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h3941 AST_MATCHER(VarDecl, isStaticLocal) { in AST_MATCHER() argument
3942 return Node.isStaticLocal(); in AST_MATCHER()
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp5222 if (getLangOpts().CPlusPlus && NewVD->isStaticLocal()) { in BuildAnonymousStructOrUnion()
6420 (!ND.isExternallyVisible() || (VD && VD->isStaticLocal())))) { in checkAttributesAfterMerging()
7426 if (getLangOpts().CPlusPlus && NewVD->isStaticLocal()) { in ActOnVariableDeclarator()
7870 NewVD->isStaticLocal()) { in CheckVariableDeclarationType()
7905 if (NewVD->isFileVarDecl() || NewVD->isStaticLocal() || in CheckVariableDeclarationType()
7913 int Scope = NewVD->isStaticLocal() | NewVD->hasExternalStorage() << 1; in CheckVariableDeclarationType()
8010 else if (NewVD->isStaticLocal()) in CheckVariableDeclarationType()
11477 } else if (cast<VarDecl>(OrigDecl)->isStaticLocal()) { in HandleDeclRefExpr()
13028 bool IsGlobal = GlobalStorage && !var->isStaticLocal(); in CheckCompleteVariableDeclaration()
13133 assert(VD->isStaticLocal()); in CheckStaticLocalForDllExport()
[all …]
/external/clang/lib/CodeGen/
DCGDecl.cpp141 if (D.isStaticLocal()) { in EmitVarDecl()
/external/clang/include/clang/AST/
DDecl.h980 bool isStaticLocal() const { in isStaticLocal() function
/external/clang/lib/AST/
DMicrosoftMangle.cpp491 else if (!VD->isStaticLocal()) in mangleVariableEncoding()
/external/llvm-project/clang/include/clang/AST/
DDecl.h1083 bool isStaticLocal() const { in isStaticLocal() function
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp995 auto M = varDecl(isStaticLocal()); in TEST_P()

12