]> granicus.if.org Git - clang/commit
[OpenCL] Output OpenCL version in diagnostics.
authorAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 12 May 2016 16:28:25 +0000 (16:28 +0000)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 12 May 2016 16:28:25 +0000 (16:28 +0000)
commit188ccfbe26070871210f8164999c1a806579b601
tree460a7e0083554b5eb847e862653268c19f377dc5
parentfd7431291bd2bcd4ea3b768d5eff7098dd22266f
[OpenCL] Output OpenCL version in diagnostics.

Diagnostics should note version dependent issues by giving
a hint about current version being compiled for.

This patch changes diagnostics of static storage class specifier
and generic type qualifier to specify OpenCL version as well as
converts other diagnostics to match the style.

Patch by Vedran Miletic!

Review: http://reviews.llvm.org/D19780

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269305 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Parse/ParseDecl.cpp
test/Parser/opencl-cl20.cl
test/Parser/opencl-storage-class.cl
test/SemaOpenCL/invalid-access-qualifier.cl
test/SemaOpenCL/storageclass.cl