clang 20.0.0git
|
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Format/TokenAnalyzer.h"
Public Member Functions | |
Environment (StringRef Code, StringRef FileName, unsigned FirstStartColumn=0, unsigned NextStartColumn=0, unsigned LastStartColumn=0) | |
FileID | getFileID () const |
SourceManager & | getSourceManager () const |
ArrayRef< CharSourceRange > | getCharRanges () const |
unsigned | getFirstStartColumn () const |
unsigned | getNextStartColumn () const |
unsigned | getLastStartColumn () const |
Static Public Member Functions | |
static std::unique_ptr< Environment > | make (StringRef Code, StringRef FileName, ArrayRef< tooling::Range > Ranges, unsigned FirstStartColumn=0, unsigned NextStartColumn=0, unsigned LastStartColumn=0) |
Definition at line 26 of file TokenAnalyzer.h.
clang::format::Environment::Environment | ( | StringRef | Code, |
StringRef | FileName, | ||
unsigned | FirstStartColumn = 0 , |
||
unsigned | NextStartColumn = 0 , |
||
unsigned | LastStartColumn = 0 |
||
) |
Definition at line 79 of file TokenAnalyzer.cpp.
|
inline |
Definition at line 40 of file TokenAnalyzer.h.
|
inline |
Definition at line 36 of file TokenAnalyzer.h.
Referenced by clang::format::TokenAnalyzer::process().
|
inline |
Definition at line 44 of file TokenAnalyzer.h.
Referenced by clang::format::TokenAnalyzer::process().
|
inline |
Definition at line 52 of file TokenAnalyzer.h.
|
inline |
Definition at line 48 of file TokenAnalyzer.h.
|
inline |
Definition at line 38 of file TokenAnalyzer.h.
Referenced by clang::format::NamespaceEndCommentsFixer::analyze(), clang::format::JavaScriptImportSorter::analyze(), clang::format::UsingDeclarationsSorter::analyze(), clang::format::LeftRightQualifierAlignmentFixer::fixQualifierAlignment(), and clang::format::TokenAnalyzer::process().
|
static |
Definition at line 59 of file TokenAnalyzer.cpp.
References Env, clang::format::FatalDiagnosticConsumer::fatalError(), clang::FileName, clang::CharSourceRange::getCharRange(), clang::SourceLocation::getLocWithOffset(), and Range.
Referenced by clang::format::cleanup(), clang::format::fixNamespaceEndComments(), clang::format::sortJavaScriptImports(), and clang::format::sortUsingDeclarations().