[OPENMP] Loop canonical form analysis (Sema)
authorAlexander Musman <alexander.musman@gmail.com>
Tue, 3 Jun 2014 10:16:47 +0000 (10:16 +0000)
committerAlexander Musman <alexander.musman@gmail.com>
Tue, 3 Jun 2014 10:16:47 +0000 (10:16 +0000)
commita8e9d2eccc6e6325cff41741de871c73cebf7f23
treedde2e402f5f5c0df928cd89900c4b01ac5abf491
parentfd5b2346cce2a0dba21520217b7f8c13b7b0f6c9
[OPENMP] Loop canonical form analysis (Sema)

This patch implements semantic analysis to make sure that the loop is in OpenMP canonical form.
This is the form required for 'omp simd', 'omp for' and other loop pragmas.

Differential revision: http://reviews.llvm.org/D3778

llvm-svn: 210095
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/Scope.h
clang/include/clang/Sema/Sema.h
clang/lib/Parse/ParseOpenMP.cpp
clang/lib/Sema/Scope.cpp
clang/lib/Sema/SemaExprCXX.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/lib/Sema/SemaStmt.cpp
clang/test/OpenMP/simd_loop_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/simd_misc_messages.c