#include "TokenAnalyzer.h"
#include "AffectedRangeManager.h"
#include "Encoding.h"
#include "FormatToken.h"
#include "FormatTokenLexer.h"
#include "TokenAnnotator.h"
#include "UnwrappedLineParser.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/DiagnosticOptions.h"
#include "clang/Basic/FileManager.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Format/Format.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Debug.h"
#include <type_traits>
#define DEBUG_TYPE …
namespace clang {
namespace format {
class FatalDiagnosticConsumer : public DiagnosticConsumer { … };
std::unique_ptr<Environment>
Environment::make(StringRef Code, StringRef FileName,
ArrayRef<tooling::Range> Ranges, unsigned FirstStartColumn,
unsigned NextStartColumn, unsigned LastStartColumn) { … }
Environment::Environment(StringRef Code, StringRef FileName,
unsigned FirstStartColumn, unsigned NextStartColumn,
unsigned LastStartColumn)
: … { … }
TokenAnalyzer::TokenAnalyzer(const Environment &Env, const FormatStyle &Style)
: … { … }
std::pair<tooling::Replacements, unsigned>
TokenAnalyzer::process(bool SkipAnnotation) { … }
void TokenAnalyzer::consumeUnwrappedLine(const UnwrappedLine &TheLine) { … }
void TokenAnalyzer::finishRun() { … }
}
}