diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-06-24 04:39:47 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-06-24 04:39:47 +0000 |
commit | b5db1b77d8fa80c507665d4c5c3217b0e972d3ed (patch) | |
tree | e500ef9e4f132893325d8f81c0bb62fb7dc331f9 /include/clang/Basic/DiagnosticSemaKinds.td | |
parent | ee28b09421d031c938fe1526bcbbabdf0bf96c59 (diff) | |
download | clang-b5db1b77d8fa80c507665d4c5c3217b0e972d3ed.tar.gz clang-b5db1b77d8fa80c507665d4c5c3217b0e972d3ed.tar.bz2 clang-b5db1b77d8fa80c507665d4c5c3217b0e972d3ed.tar.xz |
[OPENMP] Added initial checking of nesting of OpenMP regions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticSemaKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 035a7377e1..98745ca9b8 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -7096,6 +7096,11 @@ def err_omp_reduction_in_task : Error< "reduction variables may not be accessed in an explicit task">; def err_omp_reduction_id_not_compatible : Error< "variable of type %0 is not valid for specified reduction operation">; +def err_omp_prohibited_region : Error< + "region cannot be%select{| closely}0 nested inside '%1' region" + "%select{|; perhaps you forget to enclose 'omp %3' directive into a parallel region?}2">; +def err_omp_prohibited_region_simd : Error< + "OpenMP constructs may not be nested inside a simd region">; } // end of OpenMP category let CategoryName = "Related Result Type Issue" in { |