clang 20.0.0git
|
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Format/AffectedRangeManager.h"
Public Member Functions | |
AffectedRangeManager (const SourceManager &SourceMgr, const ArrayRef< CharSourceRange > Ranges) | |
bool | computeAffectedLines (SmallVectorImpl< AnnotatedLine * > &Lines) |
bool | affectsCharSourceRange (const CharSourceRange &Range) |
Definition at line 25 of file AffectedRangeManager.h.
|
inline |
Definition at line 27 of file AffectedRangeManager.h.
bool clang::format::AffectedRangeManager::affectsCharSourceRange | ( | const CharSourceRange & | Range | ) |
Definition at line 61 of file AffectedRangeManager.cpp.
References clang::SourceManager::isBeforeInTranslationUnit(), and Range.
Referenced by clang::format::IntegerLiteralSeparatorFixer::process().
bool clang::format::AffectedRangeManager::computeAffectedLines | ( | SmallVectorImpl< AnnotatedLine * > & | Lines | ) |
Definition at line 22 of file AffectedRangeManager.cpp.
References E, clang::Last, and clang::Line.
Referenced by clang::format::DefinitionBlockSeparator::analyze(), clang::format::NamespaceEndCommentsFixer::analyze(), clang::format::LeftRightQualifierAlignmentFixer::analyze(), clang::format::JavaScriptImportSorter::analyze(), and clang::format::UsingDeclarationsSorter::analyze().