#include "AffectedRangeManager.h"
#include "FormatToken.h"
#include "TokenAnnotator.h"
namespace clang {
namespace format {
bool AffectedRangeManager::computeAffectedLines(
SmallVectorImpl<AnnotatedLine *> &Lines) { … }
bool AffectedRangeManager::affectsCharSourceRange(
const CharSourceRange &Range) { … }
bool AffectedRangeManager::affectsTokenRange(const FormatToken &First,
const FormatToken &Last,
bool IncludeLeadingNewlines) { … }
bool AffectedRangeManager::affectsLeadingEmptyLines(const FormatToken &Tok) { … }
void AffectedRangeManager::markAllAsAffected(
SmallVectorImpl<AnnotatedLine *>::iterator I,
SmallVectorImpl<AnnotatedLine *>::iterator E) { … }
bool AffectedRangeManager::nonPPLineAffected(
AnnotatedLine *Line, const AnnotatedLine *PreviousLine,
SmallVectorImpl<AnnotatedLine *> &Lines) { … }
}
}