Created
November 8, 2014 06:03
-
-
Save nojima/5c2986ac079f5d23e5dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: lib/Format/ContinuationIndenter.cpp | |
=================================================================== | |
--- lib/Format/ContinuationIndenter.cpp (revision 216461) | |
+++ lib/Format/ContinuationIndenter.cpp (working copy) | |
@@ -825,7 +825,7 @@ | |
NewIndent = State.Stack.back().LastSpace; | |
if (Current.opensBlockTypeList(Style)) { | |
NewIndent += Style.IndentWidth; | |
- NewIndent = std::min(State.Column + 2, NewIndent); | |
+ NewIndent = std::min(State.Column + Style.IndentWidth, NewIndent); | |
++NewIndentLevel; | |
} else { | |
NewIndent += Style.ContinuationIndentWidth; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment