]> granicus.if.org Git - clang/commit
[OPENMP 4.1] Allow to use 'uval' and 'ref' modifiers for reference types only.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 20 Aug 2015 12:15:57 +0000 (12:15 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 20 Aug 2015 12:15:57 +0000 (12:15 +0000)
commitd7d01c2b94311893407956ebe9024fa878f2a645
tree02ca4c07e8e9bd14cc523b0b0360aa8c97e52170
parentdf06c42715dc3d1813ac63ed117f8d48097f9643
[OPENMP 4.1] Allow to use 'uval' and 'ref' modifiers for reference types only.
Standard allows to use 'uval' and 'ref' modifiers in 'linear' clause for variables with reference types only. Added check for it and modified test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245556 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Parse/ParseOpenMP.cpp
lib/Sema/SemaOpenMP.cpp
test/OpenMP/simd_linear_messages.cpp