clang  6.0.0svn
Public Member Functions | List of all members
clang::format::AffectedRangeManager Class Reference

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/Format/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)
 

Detailed Description

Definition at line 26 of file AffectedRangeManager.h.

Constructor & Destructor Documentation

◆ AffectedRangeManager()

clang::format::AffectedRangeManager::AffectedRangeManager ( const SourceManager SourceMgr,
const ArrayRef< CharSourceRange Ranges 
)
inline

Definition at line 28 of file AffectedRangeManager.h.

References computeAffectedLines().

Member Function Documentation

◆ affectsCharSourceRange()

bool clang::format::AffectedRangeManager::affectsCharSourceRange ( const CharSourceRange Range)

Definition at line 60 of file AffectedRangeManager.cpp.

◆ computeAffectedLines()

bool clang::format::AffectedRangeManager::computeAffectedLines ( SmallVectorImpl< AnnotatedLine *>::iterator  I,
SmallVectorImpl< AnnotatedLine *>::iterator  E 
)

Definition at line 23 of file AffectedRangeManager.cpp.

Referenced by AffectedRangeManager().


The documentation for this class was generated from the following files: