diff options
author | Daniel Jasper <djasper@google.com> | 2013-01-28 07:43:15 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-01-28 07:43:15 +0000 |
commit | 4ad42359866c319800e0098e99c7292e38113900 (patch) | |
tree | d56379932f91efd26fce6f509ba4485ef8c74aac /clang/unittests/Format/FormatTest.cpp | |
parent | 5c683972bc6c5bd29bd25891b9f54d73d47bce10 (diff) | |
download | bcm5719-llvm-4ad42359866c319800e0098e99c7292e38113900.tar.gz bcm5719-llvm-4ad42359866c319800e0098e99c7292e38113900.zip |
Improve indentation after breaking at nested name specifiers.
These always represent a continuation and we should increase the ident.
Before:
aaaaaaaaa(aaaaaaaaaaaaaaaaaaaaa::
aaaaaaaaaaaaaaaaaaaa);
After:
aaaaaaaaa(aaaaaaaaaaaaaaaaaaaaa::
aaaaaaaaaaaaaaaaaaaa);
llvm-svn: 173675
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
-rw-r--r-- | clang/unittests/Format/FormatTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index d877dc29e55..e47c7a5196c 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp @@ -1252,7 +1252,7 @@ TEST_F(FormatTest, WrapsAtNestedNameSpecifiers) { // "bbbbb..." here instead of what we are doing now. verifyFormat( "aaaaaaaaaaaaaaa(bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb::\n" - " cccccccccccccccccccccccccccccccccccccccccccccccccc());"); + " cccccccccccccccccccccccccccccccccccccccccccccc());"); // Breaking at nested name specifiers is generally not desirable. verifyFormat( |