[all-commits] [llvm/llvm-project] ffcaed: [Matrix] Check non-dependent elt type before creat...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Tue May 12 08:47:48 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ffcaed32ef1cf5226cc376b6c911183db690402f
https://github.com/llvm/llvm-project/commit/ffcaed32ef1cf5226cc376b6c911183db690402f
Author: Florian Hahn <flo at fhahn.com>
Date: 2020-05-12 (Tue, 12 May 2020)
Changed paths:
M clang/lib/Sema/SemaType.cpp
M clang/test/SemaCXX/matrix-type.cpp
A clang/test/SemaTemplate/matrix-type.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list