Otherwise clang will provide an unexpected diagnostic error.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
- Build Status
Buildable 17936 Build 17936: arc lint + arc unit
Event Timeline
lib/Sema/SemaDecl.cpp | ||
---|---|---|
12645 | This is a lot broader than necessary; what we should do is to look for a deduced type in the return type. isUndeducedType doesn't quite do that for a template because we "deduce" the auto as a dependent type early. |
This is a lot broader than necessary; what we should do is to look for a deduced type in the return type. isUndeducedType doesn't quite do that for a template because we "deduce" the auto as a dependent type early.