summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/WhitespaceManager.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2014-05-09 13:11:16 +0000
committerDaniel Jasper <djasper@google.com>2014-05-09 13:11:16 +0000
commitb05a81debb3e717d7b644ec7f136462a68bd6ec8 (patch)
tree0584b131054e86b97754b549ef7234c34c48490f /clang/lib/Format/WhitespaceManager.cpp
parentf2056bef3246f93ae272cb7322da9618b08f7e05 (diff)
downloadbcm5719-llvm-b05a81debb3e717d7b644ec7f136462a68bd6ec8.tar.gz
bcm5719-llvm-b05a81debb3e717d7b644ec7f136462a68bd6ec8.zip
clang-format: Fix bug introduced by r208392.
Also run clang-format over clang-format's files. llvm-svn: 208409
Diffstat (limited to 'clang/lib/Format/WhitespaceManager.cpp')
-rw-r--r--clang/lib/Format/WhitespaceManager.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/Format/WhitespaceManager.cpp b/clang/lib/Format/WhitespaceManager.cpp
index 2906b17d7b0..47b94de4c6f 100644
--- a/clang/lib/Format/WhitespaceManager.cpp
+++ b/clang/lib/Format/WhitespaceManager.cpp
@@ -18,9 +18,8 @@
namespace clang {
namespace format {
-bool
-WhitespaceManager::Change::IsBeforeInFile::operator()(const Change &C1,
- const Change &C2) const {
+bool WhitespaceManager::Change::IsBeforeInFile::
+operator()(const Change &C1, const Change &C2) const {
return SourceMgr.isBeforeInTranslationUnit(
C1.OriginalWhitespaceRange.getBegin(),
C2.OriginalWhitespaceRange.getBegin());
OpenPOWER on IntegriCloud