summaryrefslogtreecommitdiffstats
path: root/test/Parser/attributes.mm
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-12-14 00:46:53 +0000
committerHans Wennborg <hans@hanshq.net>2013-12-14 00:46:53 +0000
commit52baba31bac18dc455fa60f75aef0ca6a7dd353a (patch)
treefe97d8d9407299389d80aaf09d909d27d498fdbe /test/Parser/attributes.mm
parentb7d369845fe03e330bafc9d7ae8c5f173e71a31b (diff)
Don't require -re suffix on -verify directives with regexes.
Differential Revision: http://llvm-reviews.chandlerc.com/D2392 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/attributes.mm')
-rw-r--r--test/Parser/attributes.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Parser/attributes.mm b/test/Parser/attributes.mm
index 024606bed3..de5b4c405d 100644
--- a/test/Parser/attributes.mm
+++ b/test/Parser/attributes.mm
@@ -14,11 +14,11 @@ EXP class C2 {}; // expected-warning {{attribute 'visibility' is ignored, place
@interface EXP I @end // expected-error {{postfix attributes are not allowed on Objective-C directives, place them in front of '@interface'}}
EXP @interface I2 @end
-@implementation EXP I @end // expected-error-re {{postfix attributes are not allowed on Objective-C directives{{$}}}}
+@implementation EXP I @end // expected-error {{postfix attributes are not allowed on Objective-C directives{{$}}}}
// FIXME: Prefix attribute recovery skips until ';'
EXP @implementation I2 @end; // expected-error {{prefix attribute must be followed by an interface or protocol}}
-@class EXP OC; // expected-error-re {{postfix attributes are not allowed on Objective-C directives{{$}}}}
+@class EXP OC; // expected-error {{postfix attributes are not allowed on Objective-C directives{{$}}}}
EXP @class OC2; // expected-error {{prefix attribute must be followed by an interface or protocol}}
@protocol EXP P @end // expected-error {{postfix attributes are not allowed on Objective-C directives, place them in front of '@protocol'}}