Go to the documentation of this file.
15 #ifndef LLVM_CLANG_LIB_FORMAT_CONTINUATIONINDENTER_H
16 #define LLVM_CLANG_LIB_FORMAT_CONTINUATIONINDENTER_H
21 #include "llvm/Support/Regex.h"
35 struct RawStringFormatStyleManager;
36 class WhitespaceManager;
59 bool BinPackInconclusiveFunctions);
85 unsigned ExtraSpaces = 0);
94 unsigned moveStateToNextToken(
LineState &
State,
bool DryRun,
bool Newline);
111 unsigned reformatRawStringLiteral(
const FormatToken &Current,
114 bool DryRun,
bool Newline);
119 bool DryRun,
bool AllowBreak,
bool Newline);
144 std::pair<unsigned, bool> breakProtrudingToken(
const FormatToken &Current,
146 bool AllowBreak,
bool DryRun,
151 std::unique_ptr<BreakableToken>
163 unsigned ExtraSpaces);
196 bool BinPackInconclusiveFunctions;
197 llvm::Regex CommentPragmasRegex;
This class handles loading and caching of source files into memory.
const AnnotatedLine * Line