diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-07-29 13:26:48 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-07-29 13:26:48 +0000 |
commit | ff9f4b5489cda4d9b31595b54ec0296dc012588d (patch) | |
tree | 6a70b4dc77d3c507032dabb6fc730b599f7109ba /clang/lib/Format/WhitespaceManager.cpp | |
parent | 5483f4225ee3ab61c417f92b9b15a642ff56487e (diff) | |
download | bcm5719-llvm-ff9f4b5489cda4d9b31595b54ec0296dc012588d.tar.gz bcm5719-llvm-ff9f4b5489cda4d9b31595b54ec0296dc012588d.zip |
clang-format clang/lib/Format
llvm-svn: 367225
Diffstat (limited to 'clang/lib/Format/WhitespaceManager.cpp')
-rw-r--r-- | clang/lib/Format/WhitespaceManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Format/WhitespaceManager.cpp b/clang/lib/Format/WhitespaceManager.cpp index 23fbf94c758..33c0d53402e 100644 --- a/clang/lib/Format/WhitespaceManager.cpp +++ b/clang/lib/Format/WhitespaceManager.cpp @@ -17,8 +17,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()); |