[OPENMP50]Fix size calculation for array shaping expression in the
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 31 Mar 2020 22:26:58 +0000 (18:26 -0400)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 31 Mar 2020 22:45:21 +0000 (18:45 -0400)
commite094dd5adcbdd7f49226d93c3964f99bf5a25ba6
tree19e9ea59d76c9e55cb5286354c0bd10d4cf5c994
parent09834f976125545c74b8c1161be5204352165368
[OPENMP50]Fix size calculation for array shaping expression in the
codegen.

Need to include the size of the pointee type when trying to calculate
the total size of the array shaping expression.
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/OpenMP/depobj_codegen.cpp
clang/test/OpenMP/task_codegen.c
clang/test/OpenMP/task_depend_messages.cpp