D-Programming-Language/dmd — pull request #2385 by 9rnsr (2013-07-26 12:43:40+00:00)
Title: [Refactoring] Clean up template semantic code

- Merge `TemplateDeclaration *tempdecl` and `OverloadSet *tempovers` into `Dsymbol *tempdecl` in `TemplateInstance` object
- Standardize three phases - `findTemplateDeclaration`, `semanticTiargs`, and `findBestMatch`