clang-format
This commit is contained in:
parent
6de277c039
commit
18bbf5f118
1 changed files with 2 additions and 2 deletions
|
@ -490,8 +490,8 @@ extern "C" LLVMTargetMachineRef LLVMRustCreateTargetMachine(
|
||||||
assert(ArgsCstrBuff[ArgsCstrBuffLen - 1] == '\0');
|
assert(ArgsCstrBuff[ArgsCstrBuffLen - 1] == '\0');
|
||||||
auto Arg0 = std::string(ArgsCstrBuff);
|
auto Arg0 = std::string(ArgsCstrBuff);
|
||||||
buffer_offset = Arg0.size() + 1;
|
buffer_offset = Arg0.size() + 1;
|
||||||
auto ArgsCppStr =
|
auto ArgsCppStr = std::string(ArgsCstrBuff + buffer_offset,
|
||||||
std::string(ArgsCstrBuff + buffer_offset, ArgsCstrBuffLen - buffer_offset);
|
ArgsCstrBuffLen - buffer_offset);
|
||||||
auto i = 0;
|
auto i = 0;
|
||||||
while (i != std::string::npos) {
|
while (i != std::string::npos) {
|
||||||
i = ArgsCppStr.find('\0', i + 1);
|
i = ArgsCppStr.find('\0', i + 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue