16#ifndef LLVM_CLANG_LIB_FORMAT_TOKENANALYZER_H
17#define LLVM_CLANG_LIB_FORMAT_TOKENANALYZER_H
34 unsigned NextStartColumn = 0,
unsigned LastStartColumn = 0);
56 static std::unique_ptr<Environment>
make(StringRef Code, StringRef
FileName,
58 unsigned FirstStartColumn = 0,
59 unsigned NextStartColumn = 0,
60 unsigned LastStartColumn = 0);
64 std::unique_ptr<SourceManagerForFile> VirtualSM;
72 unsigned FirstStartColumn;
73 unsigned NextStartColumn;
74 unsigned LastStartColumn;
81 std::pair<tooling::Replacements, unsigned>
82 process(
bool SkipAnnotation =
false);
85 virtual std::pair<tooling::Replacements, unsigned>
AffectedRangeManager class manages affected ranges in the code.
This file implements a token annotator, i.e.
An opaque identifier used by SourceManager which refers to a source file (MemoryBuffer) along with it...
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
This class handles loading and caching of source files into memory.
The JSON file list parser is used to communicate input to InstallAPI.