bors
d1fb1755aa
Auto merge of #115079 - cuviper:unused-mcinfo, r=Mark-Simulacrum
...
Move a local to the `#if` block where it is used
For other cases (LLVM < 17), this was complaining under `-Wall`:
```
warning: llvm-wrapper/PassWrapper.cpp: In function ‘void LLVMRustPrintTargetCPUs(LLVMTargetMachineRef, const char*)’:
warning: llvm-wrapper/PassWrapper.cpp:311:26: warning: unused variable ‘MCInfo’ [-Wunused-variable]
warning: 311 | const MCSubtargetInfo *MCInfo = Target->getMCSubtargetInfo();
warning: | ^~~~~~
```
2023-08-27 10:32:24 +00:00
..
2023-08-23 20:05:14 -04:00
2023-08-23 20:05:14 -04:00
2023-08-24 12:52:35 +00:00
2023-08-24 12:52:35 +00:00
2023-08-24 12:52:35 +00:00
2023-08-24 12:52:35 +00:00
2023-08-25 00:02:54 +00:00
2023-08-25 08:47:18 +00:00
2023-08-24 13:28:26 +02:00
2023-08-25 19:49:10 -04:00
2023-08-26 07:47:26 +00:00
2023-08-25 19:49:10 -04:00
2023-08-25 17:03:33 +00:00
2023-08-24 22:53:57 +01:00
2023-08-24 06:31:11 +02:00
2023-08-21 18:45:51 +07:00
2023-08-23 20:05:14 -04:00
2023-08-24 17:09:14 -04:00
2023-08-23 20:05:14 -04:00
2023-08-24 12:52:35 +00:00
2023-08-25 08:47:18 +00:00
2023-08-23 21:57:18 +09:00
2023-08-26 20:10:19 +00:00
2023-08-24 11:10:52 +00:00
2023-08-26 13:37:43 -03:00
2023-08-23 11:12:30 -07:00
2023-08-24 22:53:59 +01:00
2023-08-22 16:16:32 +00:00
2023-08-27 10:32:24 +00:00
2023-08-23 20:05:14 -04:00
2023-08-25 08:47:18 +00:00
2023-08-25 08:47:18 +00:00
2023-08-24 13:28:26 +02:00
2023-08-25 13:27:21 +00:00
2023-08-24 13:28:26 +02:00
2023-08-24 12:52:35 +00:00
2023-08-25 00:02:54 +00:00
2023-08-23 20:05:14 -04:00
2023-08-25 03:34:36 +02:00
2023-08-24 20:05:57 +00:00
2023-08-25 15:16:17 +00:00
2023-08-26 00:32:16 +00:00
2023-08-25 08:47:18 +00:00
2023-08-24 21:02:06 -07:00
2023-08-24 11:10:52 +00:00
2023-08-23 20:05:14 -04:00