Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/Transforms/Utils/
DCloningTest.cpp801 auto DeclModule = parseAssemblyString(DeclAssembly, Error, Context); in TEST() local
802 EXPECT_TRUE(DeclModule != nullptr); in TEST()
804 EXPECT_TRUE(GetDICompileUnitCount(*DeclModule) == 0); in TEST()
805 auto* DeclFunction = DeclModule->getFunction("foo"); in TEST()
815 EXPECT_FALSE(verifyModule(*DeclModule, &errs())); in TEST()
817 EXPECT_TRUE(GetDICompileUnitCount(*DeclModule) == 1); in TEST()
/external/clang/lib/Sema/
DSemaLookup.cpp1523 Module *DeclModule = nullptr; in isVisibleSlow() local
1526 DeclModule = SemaRef.getOwningModule(D); in isVisibleSlow()
1527 if (!DeclModule) { in isVisibleSlow()
1537 (SemaRef.isModuleVisible(DeclModule) || in isVisibleSlow()
1570 if (!DeclModule) { in isVisibleSlow()
1571 DeclModule = SemaRef.getOwningModule(D); in isVisibleSlow()
1572 assert(DeclModule && "hidden decl not from a module"); in isVisibleSlow()
1576 if (LookupModules.count(DeclModule)) in isVisibleSlow()
1586 [&](Module *M) { return M->isModuleVisible(DeclModule); }); in isVisibleSlow()
/external/llvm-project/clang/lib/Sema/
DSemaLookup.cpp1641 Module *DeclModule = SemaRef.getOwningModule(D); in isVisibleSlow() local
1642 assert(DeclModule && "hidden decl has no owning module"); in isVisibleSlow()
1645 if (SemaRef.isModuleVisible(DeclModule, D->isModulePrivate())) in isVisibleSlow()