fix Issue 9415 - delegate inference should make function literal impure
Fixes issue with variadic functions on win64 if the argument before the variadic function is > 8 byte (issue 9495)
Merge remote-tracking branch 'remotes/upstream/master' into pull9495

Conflicts:
	src/func.c
-Added test case for bug 9495
-Using Target::ptrsize instead of hardcoded constant
test9495 should not be compiled with -release
Trivial clean up for test/runnable/testbounds.d
partial fix Issue 3652 - Allow explicit and implicit casting of dynamic array slices of known size to static array

If and only if both side of slice boundaries can be constant-folded, the conversion will succeed.

Limitation:
- Does not run CTFE.
- There is no deformation of formula.
Remove the commented out ctfe stuff and the error gagging
Add `Type *SliceExp::toStaticArrayType()`
Merge pull request #1705 from 9rnsr/ct_slice

partial fix Issue 3652 - Allow explicit and implicit casting of dynamic array slices of known size to static array
Merge pull request #1657 from Ingrater/pull9495

9495: Fixes issue with variadic functions on win64
Merge pull request #1644 from AndrejMitrovic/Fix9480

Issue 9480 - Template name should be stripped of parameters in JSON output
Merge pull request #1572 from 9rnsr/fix9415

Issue 9415 - delegate inference should make function literal impure
Fixes Issue 9475 - Preserve code layout in unittest body when emitting ddoc.