diff options
author | Florian Hahn <flo@fhahn.com> | 2020-05-12 16:37:01 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2020-05-12 16:46:37 +0100 |
commit | ffcaed32ef1cf5226cc376b6c911183db690402f (patch) | |
tree | 83b615be5f18fd368ba049789eb3c76433150181 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5c707fd97c4f2a536eab1aac50581b5461bc21dc (diff) | |
download | llvm-ffcaed32ef1cf5226cc376b6c911183db690402f.zip llvm-ffcaed32ef1cf5226cc376b6c911183db690402f.tar.gz llvm-ffcaed32ef1cf5226cc376b6c911183db690402f.tar.bz2 |
[Matrix] Check non-dependent elt type before creating DepSizedMatrix.
We should check non-dependent element types before creating a
DependentSizedMatrixType. Otherwise we do not generate an error message
for dependent-sized matrix types with invalid non-dependent element
types, if the template is never instantiated. See the make5 struct in
the tests.
It also moves the SEMA template tests to
clang/test/SemaTemplate/matrix-type.cpp and introduces a few more test
cases.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions