HomePhabricator

[Sema] Ensure an auto non-type template parameter is dependent

Description

[Sema] Ensure an auto non-type template parameter is dependent

The dependent auto was getting stripped away while rebuilding the template
parameter type, so substitute it in.

rdar://41852459

Differential revision: https://reviews.llvm.org/D50088

Details

Committed
epilkAug 7 2018, 3:59 PM
Differential Revision
D50088: [Sema] Fix an error with C++17 auto non-type template parameters
Parents
rL339197: [NFC] adding tests for Y - (X + Y) --> -X
Branches
Unknown
Tags
Unknown