diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-10-11 01:29:53 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-10-11 01:29:53 +0000 |
commit | 9d1eba184ef51dd78f2ef75eb595ca597301683f (patch) | |
tree | 10c9af2e60120634a4857d8d1a1722c6d8431858 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4227c62bc7f34f73e7be181f62da7da087441f35 (diff) | |
download | llvm-9d1eba184ef51dd78f2ef75eb595ca597301683f.zip llvm-9d1eba184ef51dd78f2ef75eb595ca597301683f.tar.gz llvm-9d1eba184ef51dd78f2ef75eb595ca597301683f.tar.bz2 |
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.
llvm-svn: 374496
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions