[clang] 982c547 - [clang][CodeGen] Cleanup missed ShouldLinkFiles definitions (#97115)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 28 15:22:45 PDT 2024
Author: Jacob Lambert
Date: 2024-06-28T15:22:42-07:00
New Revision: 982c54719289c1d85d03be3ad9e95bbfd2862aee
URL: https://github.com/llvm/llvm-project/commit/982c54719289c1d85d03be3ad9e95bbfd2862aee
DIFF: https://github.com/llvm/llvm-project/commit/982c54719289c1d85d03be3ad9e95bbfd2862aee.diff
LOG: [clang][CodeGen] Cleanup missed ShouldLinkFiles definitions (#97115)
Follow up to
https://github.com/llvm/llvm-project/commit/2264544e2d13957f36fd19864d9633a3278a9d74
Added:
Modified:
clang/lib/CodeGen/LinkInModulesPass.cpp
clang/lib/CodeGen/LinkInModulesPass.h
Removed:
################################################################################
diff --git a/clang/lib/CodeGen/LinkInModulesPass.cpp b/clang/lib/CodeGen/LinkInModulesPass.cpp
index 9dfcca53754a4..44b2df52f001a 100644
--- a/clang/lib/CodeGen/LinkInModulesPass.cpp
+++ b/clang/lib/CodeGen/LinkInModulesPass.cpp
@@ -20,8 +20,7 @@
using namespace llvm;
-LinkInModulesPass::LinkInModulesPass(clang::BackendConsumer *BC) : BC(BC),
- ShouldLinkFiles(ShouldLinkFiles) {}
+LinkInModulesPass::LinkInModulesPass(clang::BackendConsumer *BC) : BC(BC) {}
PreservedAnalyses LinkInModulesPass::run(Module &M, ModuleAnalysisManager &AM) {
if (!BC)
diff --git a/clang/lib/CodeGen/LinkInModulesPass.h b/clang/lib/CodeGen/LinkInModulesPass.h
index a184cce184c03..3edbfd076e150 100644
--- a/clang/lib/CodeGen/LinkInModulesPass.h
+++ b/clang/lib/CodeGen/LinkInModulesPass.h
@@ -28,7 +28,6 @@ class Pass;
/// for use with the legacy pass manager.
class LinkInModulesPass : public PassInfoMixin<LinkInModulesPass> {
clang::BackendConsumer *BC;
- bool ShouldLinkFiles;
public:
LinkInModulesPass(clang::BackendConsumer *BC);
More information about the cfe-commits
mailing list