mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 21:12:18 +01:00
clang-format
This commit is contained in:
parent
6de277c039
commit
18bbf5f118
@ -490,8 +490,8 @@ extern "C" LLVMTargetMachineRef LLVMRustCreateTargetMachine(
|
||||
assert(ArgsCstrBuff[ArgsCstrBuffLen - 1] == '\0');
|
||||
auto Arg0 = std::string(ArgsCstrBuff);
|
||||
buffer_offset = Arg0.size() + 1;
|
||||
auto ArgsCppStr =
|
||||
std::string(ArgsCstrBuff + buffer_offset, ArgsCstrBuffLen - buffer_offset);
|
||||
auto ArgsCppStr = std::string(ArgsCstrBuff + buffer_offset,
|
||||
ArgsCstrBuffLen - buffer_offset);
|
||||
auto i = 0;
|
||||
while (i != std::string::npos) {
|
||||
i = ArgsCppStr.find('\0', i + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user