15#ifndef LLVM_CLANG_LIB_FORMAT_UNWRAPPEDLINEFORMATTER_H
16#define LLVM_CLANG_LIB_FORMAT_UNWRAPPEDLINEFORMATTER_H
30 const FormatStyle &Style,
34 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style),
35 Keywords(Keywords), SourceMgr(SourceMgr), Status(Status) {}
39 bool DryRun =
false,
int AdditionalIndent = 0,
40 bool FixBadIndentation =
false,
unsigned FirstStartColumn = 0,
41 unsigned NextStartColumn = 0,
unsigned LastStartColumn = 0);
50 unsigned Indent,
unsigned NewlineIndent);
54 unsigned getColumnLimit(
bool InPPDirective,
60 std::map<std::pair<const SmallVectorImpl<AnnotatedLine *> *,
unsigned>,
66 const FormatStyle &Style;
This file implements an indenter that manages the indentation of continuations.
This class handles loading and caching of source files into memory.
The JSON file list parser is used to communicate input to InstallAPI.
raw_ostream & Indent(raw_ostream &Out, const unsigned int Space, bool IsDot)
Encapsulates keywords that are context sensitive or for languages not properly supported by Clang's l...