commit | 532083e190fcf07ec1e528b542da2281645c77d9 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Oct 11 01:29:53 2019 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Oct 11 01:29:53 2019 +0000 |
tree | 5318da256d6be9403e07af924892012c7eeb3760 | |
parent | 06b82840545cdd483f3d4bf2ce20cf69f3f5c142 [diff] |
Fix assertion failure for a cv-qualified array as a non-type template parameter type. We were both failing to decay the array type to a pointer and failing to remove the top-level cv-qualifications. Fix this by decaying array parameters even if the parameter type is dependent. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374496 91177308-0d34-0410-b5e6-96231b3b80d8