clang 20.0.0git
|
Functor to sort changes in original source order. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Format/WhitespaceManager.h"
Public Member Functions | |
IsBeforeInFile (const SourceManager &SourceMgr) | |
bool | operator() (const Change &C1, const Change &C2) const |
Functor to sort changes in original source order.
Definition at line 91 of file WhitespaceManager.h.
|
inline |
Definition at line 93 of file WhitespaceManager.h.
bool clang::format::WhitespaceManager::Change::IsBeforeInFile::operator() | ( | const Change & | C1, |
const Change & | C2 | ||
) | const |
Definition at line 22 of file WhitespaceManager.cpp.
References clang::SourceRange::getBegin(), clang::SourceRange::getEnd(), clang::SourceManager::isBeforeInTranslationUnit(), and clang::format::WhitespaceManager::Change::OriginalWhitespaceRange.