forked from OSchip/llvm-project
Delete cargo-cult code that doesn't affect the testsuite.
This commit is contained in:
parent
7f48246175
commit
304ba5d4c6
|
@ -1231,11 +1231,6 @@ void TypeSystemClang::SetOwningModule(clang::Decl *decl,
|
|||
decl->setFromASTFile();
|
||||
decl->setOwningModuleID(owning_module.GetValue());
|
||||
decl->setModuleOwnershipKind(clang::Decl::ModuleOwnershipKind::Visible);
|
||||
if (auto *decl_ctx = llvm::dyn_cast<clang::DeclContext>(decl)) {
|
||||
decl_ctx->setHasExternalVisibleStorage();
|
||||
if (auto *ns = llvm::dyn_cast<NamespaceDecl>(decl_ctx))
|
||||
ns->getPrimaryContext()->setMustBuildLookupTable();
|
||||
}
|
||||
}
|
||||
|
||||
OptionalClangModuleID
|
||||
|
|
Loading…
Reference in New Issue