[cfe-commits] r171892 - /cfe/trunk/unittests/Format/FormatTest.cpp
Nico Weber
nicolasweber at gmx.de
Tue Jan 8 12:16:23 PST 2013
Author: nico
Date: Tue Jan 8 14:16:23 2013
New Revision: 171892
URL: http://llvm.org/viewvc/llvm-project?rev=171892&view=rev
Log:
Formatter: More tests for already-passing ObjC bits.
Modified:
cfe/trunk/unittests/Format/FormatTest.cpp
Modified: cfe/trunk/unittests/Format/FormatTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Format/FormatTest.cpp?rev=171892&r1=171891&r2=171892&view=diff
==============================================================================
--- cfe/trunk/unittests/Format/FormatTest.cpp (original)
+++ cfe/trunk/unittests/Format/FormatTest.cpp Tue Jan 8 14:16:23 2013
@@ -1170,7 +1170,11 @@
verifyFormat("@compatibility_alias AliasName ExistingClass;");
verifyFormat("@dynamic textColor;");
//verifyFormat("char *buf1 = @encode(int **);");
+ verifyFormat("Protocol *proto = @protocol(p1);");
//verifyFormat("SEL s = @selector(foo:);");
+ verifyFormat("@synchronized(self) {\n"
+ " f();\n"
+ "}");
verifyFormat("@synthesize dropArrowPosition = dropArrowPosition_;");
// FIXME: "getter=bar" should not be surround by spaces in @property.
More information about the cfe-commits
mailing list