clang-format: Fix bug introduced by r208392.

Also run clang-format over clang-format's files.

llvm-svn: 208409
This commit is contained in:
Daniel Jasper
2014-05-09 13:11:16 +00:00
parent f2056bef32
commit b05a81debb
9 changed files with 74 additions and 89 deletions

View File

@@ -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());