diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-04-02 23:15:40 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-04-02 23:15:40 +0000 |
commit | 05511fa6349ef0820a778f8c840d0b64e05e9aee (patch) | |
tree | 359ccff82d560000d15deac8989377f2ef19332c /include/clang/Basic | |
parent | 61ac1d274936d96bd7590adeff75d3466fd87e76 (diff) |
Improve diagnosing when a method type does not start with '-'|'+'
when parsing. Fixes radar 7822196.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100248 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic')
-rw-r--r-- | include/clang/Basic/DiagnosticParseKinds.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticParseKinds.td b/include/clang/Basic/DiagnosticParseKinds.td index facf15f52e..3e0956fb94 100644 --- a/include/clang/Basic/DiagnosticParseKinds.td +++ b/include/clang/Basic/DiagnosticParseKinds.td @@ -182,6 +182,8 @@ def err_unexected_colon_in_nested_name_spec : Error< "unexpected ':' in nested name specifier">; /// Objective-C parser diagnostics +def err_expected_minus_or_plus : Error< + "method type specifier must start with '-' or '+'">; def err_objc_no_attributes_on_category : Error< "attributes may not be specified on a category">; def err_objc_missing_end : Error<"missing @end">; |