15#ifndef LLVM_CLANG_LIB_FORMAT_UNWRAPPEDLINEFORMATTER_H
16#define LLVM_CLANG_LIB_FORMAT_UNWRAPPEDLINEFORMATTER_H
25class ContinuationIndenter;
26class WhitespaceManager;
37 Keywords(Keywords), SourceMgr(SourceMgr), Status(Status) {}
41 bool DryRun =
false,
int AdditionalIndent = 0,
42 bool FixBadIndentation =
false,
unsigned FirstStartColumn = 0,
43 unsigned NextStartColumn = 0,
unsigned LastStartColumn = 0);
52 unsigned Indent,
unsigned NewlineIndent);
56 unsigned getColumnLimit(
bool InPPDirective,
62 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.