]> granicus.if.org Git - clang/commit
[OPENMP]Improve handling of analysis of unsupported VLAs in reductions.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 11 Jul 2019 20:35:31 +0000 (20:35 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 11 Jul 2019 20:35:31 +0000 (20:35 +0000)
commit5c64ddac253626253bb7da7750105470d3e3d399
tree6944eb56b74ff1ee15e7c0daf3c5ec97ab1951d9
parenteb045be4286c48fd4bf2473cd7d1e59b10e37ed1
[OPENMP]Improve handling of analysis of unsupported VLAs in reductions.

Fixed the processing of the unsupported VLAs in the reduction clauses.
Used targetDiag if the diagnostics can be delayed and emit it
immediately if the target does not support VLAs and we're parsing target
directive with the reduction clauses.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365821 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaOpenMP.cpp
test/OpenMP/target_vla_messages.cpp