Skip to content

Commit 982c547

Browse files
authored
[clang][CodeGen] Cleanup missed ShouldLinkFiles definitions (#97115)
Follow up to 2264544
1 parent b8c9293 commit 982c547

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

clang/lib/CodeGen/LinkInModulesPass.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020

2121
using namespace llvm;
2222

23-
LinkInModulesPass::LinkInModulesPass(clang::BackendConsumer *BC) : BC(BC),
24-
ShouldLinkFiles(ShouldLinkFiles) {}
23+
LinkInModulesPass::LinkInModulesPass(clang::BackendConsumer *BC) : BC(BC) {}
2524

2625
PreservedAnalyses LinkInModulesPass::run(Module &M, ModuleAnalysisManager &AM) {
2726
if (!BC)

clang/lib/CodeGen/LinkInModulesPass.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ class Pass;
2828
/// for use with the legacy pass manager.
2929
class LinkInModulesPass : public PassInfoMixin<LinkInModulesPass> {
3030
clang::BackendConsumer *BC;
31-
bool ShouldLinkFiles;
3231

3332
public:
3433
LinkInModulesPass(clang::BackendConsumer *BC);

0 commit comments

Comments
 (0)