|
clang
5.0.0
|
Public Member Functions | |
| Environment (SourceManager &SM, FileID ID, ArrayRef< CharSourceRange > Ranges) | |
| Environment (FileID ID, std::unique_ptr< FileManager > FileMgr, std::unique_ptr< SourceManager > VirtualSM, std::unique_ptr< DiagnosticsEngine > Diagnostics, const std::vector< CharSourceRange > &CharRanges) | |
| FileID | getFileID () const |
| ArrayRef< CharSourceRange > | getCharRanges () const |
| const SourceManager & | getSourceManager () const |
Static Public Member Functions | |
| static std::unique_ptr < Environment > | CreateVirtualEnvironment (StringRef Code, StringRef FileName, ArrayRef< tooling::Range > Ranges) |
Definition at line 37 of file TokenAnalyzer.h.
|
inline |
Definition at line 39 of file TokenAnalyzer.h.
|
inline |
Definition at line 42 of file TokenAnalyzer.h.
|
static |
Definition at line 40 of file TokenAnalyzer.cpp.
References clang::SrcMgr::C_User, End, clang::CharSourceRange::getCharRange(), clang::SourceLocation::getLocWithOffset(), and clang::FileID::isValid().
Referenced by clang::format::cleanup(), clang::format::fixNamespaceEndComments(), clang::format::reformat(), clang::format::sortJavaScriptImports(), and clang::format::sortUsingDeclarations().
|
inline |
Definition at line 58 of file TokenAnalyzer.h.
|
inline |
Definition at line 56 of file TokenAnalyzer.h.
Referenced by clang::format::TokenAnalyzer::process().
|
inline |
Definition at line 60 of file TokenAnalyzer.h.
Referenced by clang::format::NamespaceEndCommentsFixer::analyze(), clang::format::UsingDeclarationsSorter::analyze(), clang::format::JavaScriptImportSorter::analyze(), and clang::format::TokenAnalyzer::process().
1.8.6