15#ifndef LLVM_CLANG_LIB_FORMAT_UNWRAPPEDLINEFORMATTER_H
16#define LLVM_CLANG_LIB_FORMAT_UNWRAPPEDLINEFORMATTER_H
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>,
This file implements an indenter that manages the indentation of continuations.
This class handles loading and caching of source files into memory.
Top level wrappers for InstallAPI frontend operations.
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...