16 #ifndef LLVM_CLANG_LIB_FORMAT_UNWRAPPEDLINEFORMATTER_H
17 #define LLVM_CLANG_LIB_FORMAT_UNWRAPPEDLINEFORMATTER_H
28 class ContinuationIndenter;
29 class WhitespaceManager;
37 bool *IncompleteFormat)
38 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style),
39 Keywords(Keywords), IncompleteFormat(IncompleteFormat) {}
44 bool FixBadIndentation =
false);
51 unsigned Indent,
bool InPPDirective);
55 unsigned getColumnLimit(
bool InPPDirective,
61 std::map<std::pair<const SmallVectorImpl<AnnotatedLine *> *,
unsigned>,
62 unsigned> PenaltyCache;
68 bool *IncompleteFormat;
73 #endif // LLVM_CLANG_LIB_FORMAT_UNWRAPPEDLINEFORMATTER_H
This file implements an indenter that manages the indentation of continuations.