Hi,

the attached patch adds formatting support for the objc formatting
specifiers @public, @protected, @private, and @package. @package is
new in Objective-C 2, so the patch also turns on LangOpts.ObjC2 for
the test.

The patch formats them like public:, private:, and protected: in c++.
This is definitely correct for google style, and `ack "@public"
test/SemaObjC` suggests that it might be correct for non-google style
too (but that can be tweaked later).

Ok?

Nico

Attachment: clang-formatobjcaccess.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to