Skip to content

Commit

Permalink
Delete cargo-cult code that doesn't affect the testsuite.
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-prantl committed Apr 24, 2020
1 parent 7f48246 commit 304ba5d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 304ba5d

Please sign in to comment.