mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
[svn r324] Small indentation fixes.
Added end of line to complex.cpp.
This commit is contained in:
@@ -466,7 +466,7 @@ static void remap_outargs(std::string& insnt, size_t nargs, size_t& idx)
|
||||
for (unsigned i = 0; i < nargs; i++) {
|
||||
needle = prefix + digits[i] + suffix;
|
||||
size_t pos = insnt.find(needle);
|
||||
if(std::string::npos != pos)
|
||||
if(std::string::npos != pos)
|
||||
sprintf(buf, "%u", idx++);
|
||||
while(std::string::npos != (pos = insnt.find(needle)))
|
||||
insnt.replace(pos, needle.size(), buf);
|
||||
@@ -491,7 +491,7 @@ static void remap_inargs(std::string& insnt, size_t nargs, size_t& idx)
|
||||
for (unsigned i = 0; i < nargs; i++) {
|
||||
needle = prefix + digits[i] + suffix;
|
||||
size_t pos = insnt.find(needle);
|
||||
if(std::string::npos != pos)
|
||||
if(std::string::npos != pos)
|
||||
sprintf(buf, "%u", idx++);
|
||||
while(std::string::npos != (pos = insnt.find(needle)))
|
||||
insnt.replace(pos, needle.size(), buf);
|
||||
|
||||
@@ -360,4 +360,5 @@ DValue* DtoCastComplex(DValue* val, Type* _to)
|
||||
}
|
||||
else
|
||||
assert(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user