aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/CheckExprLifetime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Sema/CheckExprLifetime.cpp')
-rw-r--r--clang/lib/Sema/CheckExprLifetime.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/CheckExprLifetime.cpp b/clang/lib/Sema/CheckExprLifetime.cpp
index e797400..f9665b5 100644
--- a/clang/lib/Sema/CheckExprLifetime.cpp
+++ b/clang/lib/Sema/CheckExprLifetime.cpp
@@ -155,6 +155,7 @@ getEntityLifetime(const InitializedEntity *Entity,
case InitializedEntity::EK_LambdaToBlockConversionBlockElement:
case InitializedEntity::EK_LambdaCapture:
case InitializedEntity::EK_VectorElement:
+ case InitializedEntity::EK_MatrixElement:
case InitializedEntity::EK_ComplexElement:
return {nullptr, LK_FullExpression};