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 | e08a91ecd2159c979d0f00b4f9151d1af905a3d6 (patch) | |
tree | 995edf30111d5d57246ee956c7131e376b41b071 /clang/tools/clang-format/ClangFormat.cpp | |
parent | 9c1a57b64f4b5e6a12001f0995dbf965d5aea5b4 (diff) | |
download | bcm5719-llvm-e08a91ecd2159c979d0f00b4f9151d1af905a3d6.tar.gz bcm5719-llvm-e08a91ecd2159c979d0f00b4f9151d1af905a3d6.zip |
Enable alternative tokens by default for clang-format.
Patch by Bobby Moretti.
llvm-svn: 208269
Diffstat (limited to 'clang/tools/clang-format/ClangFormat.cpp')
-rw-r--r-- | clang/tools/clang-format/ClangFormat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/tools/clang-format/ClangFormat.cpp b/clang/tools/clang-format/ClangFormat.cpp index 6f94461aba3..d26659d1277 100644 --- a/clang/tools/clang-format/ClangFormat.cpp +++ b/clang/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()); } } |