[clang] [clang][CodeGen] Shift relink option implementation away from module cloning (PR #81693)
Aaron Liu via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 15 13:54:26 PST 2024
================
@@ -257,37 +281,19 @@ bool BackendConsumer::LinkInModules(llvm::Module *M, bool ShouldLinkFiles) {
CurLinkModule = LM.Module.get();
bool Err;
----------------
AaronHLiu wrote:
Got error:
```
clang/lib/CodeGen/CodeGenAction.cpp:282:10: error: variable 'Err' set but not used [-Werror,-Wunused-but-set-variable]
bool Err;
^
1 error generated.
```
https://github.com/llvm/llvm-project/pull/81693
More information about the cfe-commits
mailing list