mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-17 13:23:14 +01:00
Low-hanging DMD diff reduction fruit.
The trailing whitespace isn't pretty, but removes the files completly from the diff.
This commit is contained in:
@@ -129,7 +129,7 @@ int StructLiteralExp::apply(fp_t fp, void *param)
|
||||
stageflags |= stageApply;
|
||||
int ret = condApply(elements, fp, param) ||
|
||||
(*fp)(this, param);
|
||||
stageflags = old;
|
||||
stageflags = old;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
@@ -164,7 +164,7 @@ Lneed:
|
||||
* Note that s will be constructed onto the stack, and probably
|
||||
* copy-constructed in caller site.
|
||||
*
|
||||
* If S has copy copy construction and/or destructor,
|
||||
* If S has copy copy construction and/or destructor,
|
||||
* the body will make bit-wise object swap:
|
||||
* S __tmp = this; // bit copy
|
||||
* this = s; // bit copy
|
||||
|
||||
@@ -21,10 +21,6 @@
|
||||
#include "scope.h"
|
||||
#include "init.h"
|
||||
|
||||
#if IN_LLVM
|
||||
#include "init.h"
|
||||
#endif
|
||||
|
||||
/********************************************
|
||||
* Convert from expression to delegate that returns the expression,
|
||||
* i.e. convert:
|
||||
|
||||
Reference in New Issue
Block a user