summaryrefslogtreecommitdiff
path: root/include/clang/Basic/DiagnosticSemaKinds.td
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@gmail.com>2014-05-19 14:41:38 +0000
committerJoey Gouly <joey.gouly@gmail.com>2014-05-19 14:41:38 +0000
commit5e16ee063283e193d279e50fb1fe407329dbad21 (patch)
treeadbe33123abf8b78f532ae9a15a17460c9ebb2ba /include/clang/Basic/DiagnosticSemaKinds.td
parent066aa1a0953ec99d7624e3922d07fb3edfb50ad7 (diff)
downloadclang-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.td2
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<