diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2019-04-25 16:21:13 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2019-04-25 16:21:13 +0000 |
commit | 95b64a39967af2818c21254a8e1992a0e0e07c47 (patch) | |
tree | d55831c1985713a343df7a6dab9c193eeb2739c1 /include | |
parent | 9981cdc9924fb8b614e60aef543372a47d12699e (diff) |
[OPENMP] Improved check for the linear dependency in the non-rectangular
loop nests.
Added a checks that the initializer/condition expressions depend only
only of the single previous loop iteration variable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359200 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 5237456361..238c9eec70 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -9172,6 +9172,8 @@ def err_omp_expected_private_copy_for_allocate : Error< "the referenced item is not found in any private clause on the same directive">; def err_omp_stmt_depends_on_loop_counter : Error< "the loop %select{initializer|condition}0 expression depends on the current loop control variable">; +def err_omp_invariant_or_linear_dependancy : Error< + "expected loop invariant expression or '<invariant1> * %0 + <invariant2>' kind of expression">; } // end of OpenMP category let CategoryName = "Related Result Type Issue" in { |