diff options
author | Nikola Smiljanic <popizdeh@gmail.com> | 2014-05-08 00:05:13 +0000 |
---|---|---|
committer | Nikola Smiljanic <popizdeh@gmail.com> | 2014-05-08 00:05:13 +0000 |
commit | 974c54917b47b610227e1da85f013f067965a4f7 (patch) | |
tree | 44b3c95bc8bbbc46880a919132a65392ee68fedf /tools/clang-format/ClangFormat.cpp | |
parent | b335d96fdee1d31087895cd4eceeeba207049d2e (diff) |
Enable alternative tokens by default for clang-format.
Patch by Bobby Moretti.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208269 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/clang-format/ClangFormat.cpp')
-rw-r--r-- | tools/clang-format/ClangFormat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/clang-format/ClangFormat.cpp b/tools/clang-format/ClangFormat.cpp index 6f94461aba..d26659d127 100644 --- a/tools/clang-format/ClangFormat.cpp +++ b/tools/clang-format/ClangFormat.cpp @@ -246,8 +246,8 @@ static bool format(StringRef FileName) { return true; } else { if (Cursor.getNumOccurrences() != 0) - outs() << "{ \"Cursor\": " << tooling::shiftedCodePosition( - Replaces, Cursor) << " }\n"; + outs() << "{ \"Cursor\": " + << tooling::shiftedCodePosition(Replaces, Cursor) << " }\n"; Rewrite.getEditBuffer(ID).write(outs()); } } |