16 #ifndef LLVM_CLANG_LIB_FORMAT_TOKENANALYZER_H 17 #define LLVM_CLANG_LIB_FORMAT_TOKENANALYZER_H 30 #include "llvm/ADT/STLExtras.h" 31 #include "llvm/Support/Debug.h" 45 unsigned NextStartColumn = 0,
unsigned LastStartColumn = 0);
67 std::unique_ptr<SourceManagerForFile> VirtualSM;
75 unsigned FirstStartColumn;
76 unsigned NextStartColumn;
77 unsigned LastStartColumn;
84 std::pair<tooling::Replacements, unsigned> process();
87 virtual std::pair<tooling::Replacements, unsigned>
92 void consumeUnwrappedLine(
const UnwrappedLine &TheLine)
override;
94 void finishRun()
override;
Defines the clang::FileManager interface and associated types.
Defines the SourceManager interface.
AffectedRangeManager class manages affected ranges in the code.
Contains functions for text encoding manipulation.
This file implements a token annotator, i.e.
Defines the Diagnostic-related interfaces.
This file contains the declaration of the UnwrappedLineParser, which turns a stream of tokens into Un...
An opaque identifier used by SourceManager which refers to a source file (MemoryBuffer) along with it...
Dataflow Directional Tag Classes.
This class handles loading and caching of source files into memory.