Searched refs:DeclModule (Results 1 – 3 of 3) sorted by relevance
801 auto DeclModule = parseAssemblyString(DeclAssembly, Error, Context); in TEST() local802 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()
1523 Module *DeclModule = nullptr; in isVisibleSlow() local1526 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()
1641 Module *DeclModule = SemaRef.getOwningModule(D); in isVisibleSlow() local1642 assert(DeclModule && "hidden decl has no owning module"); in isVisibleSlow()1645 if (SemaRef.isModuleVisible(DeclModule, D->isModulePrivate())) in isVisibleSlow()