We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd43430 commit 7c6fe1eCopy full SHA for 7c6fe1e
compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
@@ -340,14 +340,6 @@ static FloatABI::ABIType fromRust(LLVMRustFloatABI RustFloatAbi) {
340
report_fatal_error("Bad FloatABI.");
341
}
342
343
-/// getLongestEntryLength - Return the length of the longest entry in the table.
344
-template <typename KV> static size_t getLongestEntryLength(ArrayRef<KV> Table) {
345
- size_t MaxLen = 0;
346
- for (auto &I : Table)
347
- MaxLen = std::max(MaxLen, std::strlen(I.Key));
348
- return MaxLen;
349
-}
350
-
351
extern "C" void LLVMRustPrintTargetCPUs(LLVMTargetMachineRef TM,
352
RustStringRef OutStr) {
353
ArrayRef<SubtargetSubTypeKV> CPUTable =
0 commit comments