From f4ba35d8096dd14c9064133015c84ee4e5a0e44f Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Tue, 5 Mar 2013 19:40:47 +0000 Subject: doc parsing. Add @method and @callback for checkings and few other refactoring/cleanup. // rdar://13094352. llvm-svn: 176509 --- clang/test/Sema/warn-documentation.m | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'clang/test/Sema/warn-documentation.m') diff --git a/clang/test/Sema/warn-documentation.m b/clang/test/Sema/warn-documentation.m index 8a894dca700..cfa84870e82 100644 --- a/clang/test/Sema/warn-documentation.m +++ b/clang/test/Sema/warn-documentation.m @@ -97,3 +97,11 @@ int b; /// \returns aaa. typedef int (^test_param1)(int aaa, int ccc); +// rdar://13094352 +// expected-warning@+2 {{'@method' command used in a comment that is attached to a non-method declaration immediately following it}} +@interface I +/*! @method Base64EncodeEx +*/ +typedef id ID; +- (unsigned) Base64EncodeEx : (ID)Arg; +@end -- cgit v1.2.3