diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-05-28 07:40:25 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-05-28 07:40:25 +0000 |
commit | 9e6a299419ec5b0a4b08ae13d2c4b1170293222b (patch) | |
tree | 11eeae790d3641a46ee2f24ea55b6c8399f6994d /include/clang/Basic/DiagnosticSemaKinds.td | |
parent | bf9865fc78da180dfca153535e2dee932d023a20 (diff) | |
download | clang-9e6a299419ec5b0a4b08ae13d2c4b1170293222b.tar.gz clang-9e6a299419ec5b0a4b08ae13d2c4b1170293222b.tar.bz2 clang-9e6a299419ec5b0a4b08ae13d2c4b1170293222b.tar.xz |
[OPENMP] Additional checking for local vars in initial values for threadprivate vars
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209716 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticSemaKinds.td')
-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 0215486175..065e0be1d0 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -6956,6 +6956,8 @@ def err_omp_linear_expected_int_or_ptr : Error< def warn_omp_linear_step_zero : Warning< "zero linear step (%0 %select{|and other variables in clause }1should probably be const)">, InGroup<OpenMPClauses>; +def err_omp_local_var_in_threadprivate_init : Error< + "variable with local storage in initial value of threadprivate variable">; } // end of OpenMP category let CategoryName = "Related Result Type Issue" in { |