Home
last modified time | relevance | path

Searched refs:LocalScope (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DHoverTests.cpp78 HI.LocalScope = "Foo::"; in TEST()
99 HI.LocalScope = "Foo::foo::"; in TEST()
115 HI.LocalScope = "(anonymous struct)::"; in TEST()
238 HI.LocalScope = "foo::"; in TEST()
259 HI.LocalScope = "foo::"; in TEST()
280 HI.LocalScope = "foo::"; in TEST()
303 HI.LocalScope = "foo::"; in TEST()
323 HI.LocalScope = "foo::(anonymous class)::operator()::"; in TEST()
348 HI.LocalScope = "X<T *>::"; // FIXME: X<T *, void>:: in TEST()
358 HI.LocalScope = "X::"; in TEST()
[all …]
/external/llvm-project/clang/lib/AST/Interp/
DByteCodeExprGen.h34 template <class Emitter> class LocalScope; variable
162 friend class LocalScope<Emitter>; variable
282 template <class Emitter> class LocalScope : public VariableScope<Emitter> {
284 LocalScope(ByteCodeExprGen<Emitter> *Ctx) : VariableScope<Emitter>(Ctx) {} in LocalScope() function
286 ~LocalScope() override { this->emitDestruction(); } in ~LocalScope()
309 template <class Emitter> class BlockScope final : public LocalScope<Emitter> {
311 BlockScope(ByteCodeExprGen<Emitter> *Ctx) : LocalScope<Emitter>(Ctx) {} in BlockScope()
320 template <class Emitter> class ExprScope final : public LocalScope<Emitter> {
322 ExprScope(ByteCodeExprGen<Emitter> *Ctx) : LocalScope<Emitter>(Ctx) {} in ExprScope()
DByteCodeExprGen.cpp29 template <class Emitter> class DeclScope final : public LocalScope<Emitter> {
32 : LocalScope<Emitter>(Ctx), Scope(Ctx->P, VD) {} in DeclScope()
538 DeclScope<Emitter> LocalScope(this, VD); in visitDecl() local
552 DeclScope<Emitter> LocalScope(this, VD); in visitDecl() local
/external/llvm-project/clang/lib/Analysis/
DCFG.cpp224 class LocalScope { class
231 const LocalScope* Scope = nullptr;
245 const_iterator(const LocalScope& S, unsigned I) in const_iterator()
313 LocalScope(BumpVectorContext ctx, const_iterator P) in LocalScope() function in __anon99fcb4940111::LocalScope
329 int LocalScope::const_iterator::distance(LocalScope::const_iterator L) { in distance()
346 LocalScope::const_iterator
347 LocalScope::const_iterator::shared_parent(LocalScope::const_iterator L) { in shared_parent()
348 llvm::SmallPtrSet<const LocalScope *, 4> ScopesOfL; in shared_parent()
373 LocalScope::const_iterator scopePosition;
376 BlockScopePosPair(CFGBlock *b, LocalScope::const_iterator scopePos) in BlockScopePosPair()
[all …]
/external/clang/lib/Analysis/
DCFG.cpp169 class LocalScope { class
176 const LocalScope* Scope;
191 const_iterator(const LocalScope& S, unsigned I) in const_iterator()
251 LocalScope(BumpVectorContext ctx, const_iterator P) in LocalScope() function in __anon30bb6a660111::LocalScope
265 int LocalScope::const_iterator::distance(LocalScope::const_iterator L) { in distance()
283 BlockScopePosPair(CFGBlock *b, LocalScope::const_iterator scopePos) in BlockScopePosPair()
287 LocalScope::const_iterator scopePosition;
382 LocalScope::const_iterator ScopePos;
580 void addAutomaticObjDtors(LocalScope::const_iterator B,
581 LocalScope::const_iterator E, Stmt *S);
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h127 auto *LocalScope = cast<DILocalScope>(Scope)->getNonLexicalBlockFileScope(); in addImportedEntity() local
128 ImportedEntities[LocalScope].push_back(IE); in addImportedEntity()
/external/llvm/lib/IR/
DDebugInfo.cpp35 if (auto *LocalScope = dyn_cast_or_null<DILocalScope>(Scope)) in getDISubprogram() local
36 return LocalScope->getSubprogram(); in getDISubprogram()
DVerifier.cpp4137 static DISubprogram *getSubprogram(Metadata *LocalScope) { in getSubprogram() argument
4138 if (!LocalScope) in getSubprogram()
4141 if (auto *SP = dyn_cast<DISubprogram>(LocalScope)) in getSubprogram()
4144 if (auto *LB = dyn_cast<DILexicalBlockBase>(LocalScope)) in getSubprogram()
4148 assert(!isa<DILocalScope>(LocalScope) && "Unknown type of local scope"); in getSubprogram()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h179 auto *LocalScope = cast<DILocalScope>(Scope)->getNonLexicalBlockFileScope(); in addImportedEntity() local
180 ImportedEntities[LocalScope].push_back(IE); in addImportedEntity()
DDwarfDebug.cpp1838 const DILocalScope *LocalScope = in collectEntityInfo() local
1842 Scope = LScopes.findInlinedScope(LocalScope, IA); in collectEntityInfo()
1844 Scope = LScopes.findLexicalScope(LocalScope); in collectEntityInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h174 auto *LocalScope = cast<DILocalScope>(Scope)->getNonLexicalBlockFileScope(); in addImportedEntity() local
175 ImportedEntities[LocalScope].push_back(IE); in addImportedEntity()
DDwarfDebug.cpp1641 const DILocalScope *LocalScope = in collectEntityInfo() local
1645 Scope = LScopes.findInlinedScope(LocalScope, IA); in collectEntityInfo()
1647 Scope = LScopes.findLexicalScope(LocalScope); in collectEntityInfo()
/external/llvm-project/clang-tools-extra/clangd/
DHover.h53 std::string LocalScope; member
DHover.cpp502 HI.LocalScope = getLocalScope(D); in getHoverContents()
503 if (!HI.LocalScope.empty()) in getHoverContents()
504 HI.LocalScope.append("::"); in getHoverContents()
968 if (!LocalScope.empty()) { in present()
973 "// In " + llvm::StringRef(LocalScope).rtrim(':').str() + '\n'; in present()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDebugInfo.cpp44 if (auto *LocalScope = dyn_cast_or_null<DILocalScope>(Scope)) in getDISubprogram() local
45 return LocalScope->getSubprogram(); in getDISubprogram()
DVerifier.cpp4747 static DISubprogram *getSubprogram(Metadata *LocalScope) { in getSubprogram() argument
4748 if (!LocalScope) in getSubprogram()
4751 if (auto *SP = dyn_cast<DISubprogram>(LocalScope)) in getSubprogram()
4754 if (auto *LB = dyn_cast<DILexicalBlockBase>(LocalScope)) in getSubprogram()
4758 assert(!isa<DILocalScope>(LocalScope) && "Unknown type of local scope"); in getSubprogram()
/external/llvm-project/llvm/lib/IR/
DDebugInfo.cpp44 if (auto *LocalScope = dyn_cast_or_null<DILocalScope>(Scope)) in getDISubprogram() local
45 return LocalScope->getSubprogram(); in getDISubprogram()
DVerifier.cpp5168 static DISubprogram *getSubprogram(Metadata *LocalScope) { in getSubprogram() argument
5169 if (!LocalScope) in getSubprogram()
5172 if (auto *SP = dyn_cast<DISubprogram>(LocalScope)) in getSubprogram()
5175 if (auto *LB = dyn_cast<DILexicalBlockBase>(LocalScope)) in getSubprogram()
5179 assert(!isa<DILocalScope>(LocalScope) && "Unknown type of local scope"); in getSubprogram()
/external/llvm-project/clang/lib/CodeGen/
DCGStmtOpenMP.cpp604 CodeGenFunction::OMPPrivateScope LocalScope(*this); in GenerateOpenMPCapturedStmtFunction() local
607 LocalScope.addPrivate(LocalAddrPair.second.first, [&LocalAddrPair]() { in GenerateOpenMPCapturedStmtFunction()
612 (void)LocalScope.Privatize(); in GenerateOpenMPCapturedStmtFunction()
617 (void)LocalScope.ForceCleanup(); in GenerateOpenMPCapturedStmtFunction()
DCGOpenMPRuntime.cpp5140 CodeGenFunction::RunCleanupsScope LocalScope(CGF); in emitTaskCall() local
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp4020 CodeGenFunction::RunCleanupsScope LocalScope(CGF); in emitTaskCall() local