Home
last modified time | relevance | path

Searched refs:GlobalVarDecl (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DInterfacesGlobalInitCheck.cpp20 const auto GlobalVarDecl = in registerMatchers() local
28 varDecl(GlobalVarDecl, unless(isDefinition())).bind("referencee"))); in registerMatchers()
31 traverse(TK_AsIs, varDecl(GlobalVarDecl, isDefinition(), in registerMatchers()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp78 VarDecl *GlobalVarDecl; member in __anon0b56e30a0111::RewriteObjC
620 GlobalVarDecl = nullptr; in InitializeCommon()
3479 if (GlobalVarDecl) in SynthesizeBlockImpl()
3489 if (GlobalVarDecl) in SynthesizeBlockImpl()
3536 bool RewriteSC = (GlobalVarDecl && in SynthesizeBlockLiterals()
3542 SC += GlobalVarDecl->getNameAsString(); in SynthesizeBlockLiterals()
3602 if (GlobalVarDecl->getStorageClass() == SC_Static) in SynthesizeBlockLiterals()
3604 if (GlobalVarDecl->getType().isConstQualified()) in SynthesizeBlockLiterals()
4393 else if (GlobalVarDecl) in SynthBlockInitExpr()
4863 GlobalVarDecl = VD; in HandleDeclInMainFile()
[all …]
H A DRewriteModernObjC.cpp80 VarDecl *GlobalVarDecl; member in __anon21803b4f0111::RewriteModernObjC
691 GlobalVarDecl = nullptr; in InitializeCommon()
4270 if (GlobalVarDecl) in SynthesizeBlockImpl()
4280 if (GlobalVarDecl) in SynthesizeBlockImpl()
4324 bool RewriteSC = (GlobalVarDecl && in SynthesizeBlockLiterals()
4330 SC += GlobalVarDecl->getNameAsString(); in SynthesizeBlockLiterals()
4396 if (GlobalVarDecl->getType().isConstQualified()) in SynthesizeBlockLiterals()
5241 else if (GlobalVarDecl) in SynthBlockInitExpr()
5247 if (GlobalBlockExpr && !GlobalVarDecl) { in SynthBlockInitExpr()
5764 GlobalVarDecl = VD; in HandleDeclInMainFile()
[all …]