[OPENMP50]Fix the checks for the nesting of scan directives.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 26 Mar 2020 21:12:45 +0000 (17:12 -0400)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 26 Mar 2020 21:30:02 +0000 (17:30 -0400)
commit2a43a1610db335afcccd1a179a33a0886a5a2c4d
tree33092d5ab3e3cd46995a7219749a68248fb9a426
parentaff75e1a1facbc6cc274070690ff3d725325c0f1
[OPENMP50]Fix the checks for the nesting of scan directives.

Fixed the check for the orhaned scan directives and improved checks for
parallel for and parallel for simd directives.
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/nesting_of_regions.cpp
clang/test/OpenMP/scan_messages.cpp