clang
3.9.0
|
#include <AffectedRangeManager.h>
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::LangAS::Last, clang::format::AnnotatedLine::Last, clang::format::AnnotatedLine::LeadingEmptyLinesAffected, and Line.
Referenced by clang::format::JavaScriptImportSorter::analyze().