Remove obsolete __thread from test-suite.
Fixes Issue 9033 - Remove __thread from the language.
Refactoring template instantiation error handling
Merge pull request #1692 from dawgfoto/fixModuleInfoSection

fix NULL pointers in .minfo section for 32-bit ELF objects
Merge pull request #1616 from AndrejMitrovic/Fix9033

Issue 9033 - Remove __thread from the language.
[Refactoring] Rename local variables
[Refactoring] Swap parameters loc and sc

Only overload related functions use (sc, loc) order, but others (Type::semantic, Type::resolve, functionParameters, etc) uses (loc, sc) order. Therefore align the parameter orders to the latter.
[Refactoring] Remove redundant argument setting
[Refactoring] Use resolveFuncCall in almost places
[Refactoring] Do not calculate buf if it is not necessary.
[Refactoring] Rename variable

targsi -> tiargs (== Template Instance ARGS)
Cleanup comments
Simply or the conditions in Template(Instance|Mixin)::semantic

Pointed out by you Martin Nowak.
CTFE: Remove an unused array

Slightly reduces memory usage.
Merge pull request #1698 from donc/ctfe_removevsave

CTFE: Slightly reduce memory usage
use %llu to format (unsigned long long)size_t arguments
Merge pull request #1694 from 9rnsr/refactor_tinst

Refactoring template instantiation error handling
Merge pull request #1695 from 9rnsr/refactor_funcall

Refactoring for function call mechanism
Merge pull request #1696 from dawgfoto/fixPrintfFormat

[trivial] use %zu to format size_t arguments
fix NULL pointers in __minfodata section for 64-bit MachO objects

- caused by 16-byte alignment of __minfodata section