We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad0eceb commit 86d67b7Copy full SHA for 86d67b7
compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
@@ -503,7 +503,8 @@ extern "C" LLVMTargetMachineRef LLVMRustCreateTargetMachine(
503
assert(ArgsCstrBuff[ArgsCstrBuffLen - 1] == '\0');
504
auto Arg0 = std::string(ArgsCstrBuff);
505
buffer_offset = Arg0.size() + 1;
506
- auto ArgsCppStr = std::string(ArgsCstrBuff + buffer_offset, ArgsCstrBuffLen - 1);
+ auto ArgsCppStr =
507
+ std::string(ArgsCstrBuff + buffer_offset, ArgsCstrBuffLen - 1);
508
auto i = 0;
509
while (i != std::string::npos) {
510
i = ArgsCppStr.find('\0', i + 1);
0 commit comments