summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/DiagnosticParseKinds.td
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-04-18 10:46:41 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-04-18 10:46:41 +0000
commit7844d0af188cb376ec177cb1fb4bcb24272dc32b (patch)
treec6c244c42a2d72b62f4085cb2d7e1bc5ddcb48d4 /include/clang/Basic/DiagnosticParseKinds.td
parentdf381a38cfc0018e459897639364fcfe7adf7d11 (diff)
Revert r300539 - Add #pragma clang attribute
Some tests fail on the Windows buildbots. I will have to investigate more. This commit reverts r300539, r300540 and r300542. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticParseKinds.td')
-rw-r--r--include/clang/Basic/DiagnosticParseKinds.td37
1 files changed, 0 insertions, 37 deletions
diff --git a/include/clang/Basic/DiagnosticParseKinds.td b/include/clang/Basic/DiagnosticParseKinds.td
index d95e43c10c..aebf8a9f35 100644
--- a/include/clang/Basic/DiagnosticParseKinds.td
+++ b/include/clang/Basic/DiagnosticParseKinds.td
@@ -979,43 +979,6 @@ def err_pragma_optimize_invalid_argument : Error<
"expected 'on' or 'off'">;
def err_pragma_optimize_extra_argument : Error<
"unexpected extra argument '%0' to '#pragma clang optimize'">;
-// - #pragma clang attribute
-def err_pragma_attribute_expected_push_pop : Error<
- "expected 'push' or 'pop' after '#pragma clang attribute'">;
-def err_pragma_attribute_invalid_argument : Error<
- "unexpected argument '%0' to '#pragma clang attribute'; "
- "expected 'push' or 'pop'">;
-def err_pragma_attribute_expected_attribute : Error<
- "expected an attribute after '('">;
-def err_pragma_attribute_expected_attribute_name : Error<
- "expected identifier that represents an attribute name">;
-def err_pragma_attribute_extra_tokens_after_attribute : Error<
- "extra tokens after attribute in a '#pragma clang attribute push'">;
-def err_pragma_attribute_unsupported_attribute : Error<
- "attribute %0 is not supported by '#pragma clang attribute'">;
-def err_pragma_attribute_multiple_attributes : Error<
- "more than one attribute specified in '#pragma clang attribute push'">;
-def err_pragma_attribute_expected_attribute_syntax : Error<
- "expected an attribute that is specified using the GNU, C++11 or '__declspec'"
- " syntax">;
-def note_pragma_attribute_use_attribute_kw : Note<"use the GNU '__attribute__' "
- "syntax">;
-def err_pragma_attribute_invalid_subject_set_specifier : Error<
- "expected attribute subject set specifier 'apply_to'">;
-def err_pragma_attribute_expected_subject_identifier : Error<
- "expected an identifier that corresponds to an attribute subject rule">;
-def err_pragma_attribute_unknown_subject_rule : Error<
- "unknown attribute subject rule '%0'">;
-def err_pragma_attribute_expected_subject_sub_identifier : Error<
- "expected an identifier that corresponds to an attribute subject matcher "
- "sub-rule; '%0' matcher %select{does not support sub-rules|supports the "
- "following sub-rules: %2|}1">;
-def err_pragma_attribute_unknown_subject_sub_rule : Error<
- "%select{invalid use of|unknown}2 attribute subject matcher sub-rule '%0'; "
- "'%1' matcher %select{does not support sub-rules|supports the following "
- "sub-rules: %3}2">;
-def err_pragma_attribute_duplicate_subject : Error<
- "duplicate attribute subject matcher '%0'">;
def err_opencl_unroll_hint_on_non_loop : Error<
"OpenCL only supports 'opencl_unroll_hint' attribute on for, while, and do statements">;