From 6e8f4edf2d0ce63bb17dc77a006b94b3812eb335 Mon Sep 17 00:00:00 2001 From: Daniel Jasper Date: Thu, 11 Apr 2013 08:48:20 +0000 Subject: Fix formatting of overloaded assignment operators. Before: SomeType &operator=(const SomeType & S); After: SomeType &operator=(const SomeType &S); llvm-svn: 179270 --- clang/unittests/Format/FormatTest.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/unittests/Format/FormatTest.cpp') diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index 5b5f483c62b..09fbce830e3 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp @@ -2374,6 +2374,7 @@ TEST_F(FormatTest, UndestandsOverloadedOperators) { " const aaaaaaaaaaaaaaaaaaaaa &right) {\n" " return left.group < right.group;\n" "}"); + verifyFormat("SomeType &operator=(const SomeType &S);"); verifyGoogleFormat("operator void*();"); verifyGoogleFormat("operator SomeType>();"); -- cgit v1.2.3