|
clang
5.0.0
|
Public Member Functions | |
| AffectedRangeManager (const SourceManager &SourceMgr, const ArrayRef< CharSourceRange > Ranges) | |
| bool | computeAffectedLines (SmallVectorImpl< AnnotatedLine * >::iterator I, SmallVectorImpl< AnnotatedLine * >::iterator E) |
| bool | affectsCharSourceRange (const CharSourceRange &Range) |
Definition at line 26 of file AffectedRangeManager.h.
|
inline |
Definition at line 28 of file AffectedRangeManager.h.
| bool clang::format::AffectedRangeManager::affectsCharSourceRange | ( | const CharSourceRange & | Range | ) |
Definition at line 60 of file AffectedRangeManager.cpp.
References E, clang::CharSourceRange::getBegin(), clang::CharSourceRange::getEnd(), I, and clang::SourceManager::isBeforeInTranslationUnit().
| bool clang::format::AffectedRangeManager::computeAffectedLines | ( | SmallVectorImpl< AnnotatedLine * >::iterator | I, |
| SmallVectorImpl< AnnotatedLine * >::iterator | E | ||
| ) |
Definition at line 23 of file AffectedRangeManager.cpp.
References clang::format::AnnotatedLine::First, I, clang::format::AnnotatedLine::InPPDirective, clang::format::AnnotatedLine::Last, clang::format::AnnotatedLine::LeadingEmptyLinesAffected, and Line.
Referenced by clang::format::NamespaceEndCommentsFixer::analyze(), clang::format::UsingDeclarationsSorter::analyze(), and clang::format::JavaScriptImportSorter::analyze().
1.8.6