Zhihao Yuan 2c5471ddc7 [C++17] Fix class template argument deduction for default constructors without an initializer
Summary:
As the title says, this makes following code compile:

```
template<typename> struct Foo {};
Foo() -> Foo<void>;

Foo f; // ok
```

Thanks Nicolas Lesser for coining the fix.

Reviewers: rsmith, lichray

Reviewed By: rsmith, lichray

Subscribers: lichray, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D38216

llvm-svn: 328409
2018-03-24 04:32:11 +00:00
..
2018-02-23 19:38:41 +00:00
2018-03-23 01:36:23 +00:00
2017-08-30 23:26:38 +00:00
2018-02-10 21:28:55 +00:00
2017-11-27 13:33:19 +00:00
2017-12-14 22:12:46 +00:00