diff options
author | Joey Gouly <joey.gouly@gmail.com> | 2014-05-19 14:41:38 +0000 |
---|---|---|
committer | Joey Gouly <joey.gouly@gmail.com> | 2014-05-19 14:41:38 +0000 |
commit | 5e16ee063283e193d279e50fb1fe407329dbad21 (patch) | |
tree | adbe33123abf8b78f532ae9a15a17460c9ebb2ba /include/clang/Basic/DiagnosticSemaKinds.td | |
parent | 066aa1a0953ec99d7624e3922d07fb3edfb50ad7 (diff) | |
download | clang-5e16ee063283e193d279e50fb1fe407329dbad21.tar.gz clang-5e16ee063283e193d279e50fb1fe407329dbad21.tar.bz2 clang-5e16ee063283e193d279e50fb1fe407329dbad21.tar.xz |
[OpenCL] Reject reqd_work_group_size(X, Y, Z) where X, Y or Z == 0.
Patch by Pedro Ferreira!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209127 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 40d92d0953..d6d0d0b3c8 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -2002,6 +2002,8 @@ def warn_concatenated_nsarray_literal : Warning< InGroup<ObjCStringConcatenation>; def note_objc_literal_comparison_isequal : Note< "use 'isEqual:' instead">; +def err_attribute_argument_is_zero : Error< + "%0 attribute must be greater than 0">; let CategoryName = "Cocoa API Issue" in { def warn_objc_redundant_literal_use : Warning< |