15#ifndef LLVM_CLANG_LIB_FORMAT_CONTINUATIONINDENTER_H
16#define LLVM_CLANG_LIB_FORMAT_CONTINUATIONINDENTER_H
42 std::optional<FormatStyle>
90 bool BinPackInconclusiveFunctions);
116 unsigned ExtraSpaces = 0);
125 unsigned moveStateToNextToken(
LineState &State,
bool DryRun,
bool Newline);
128 void moveStatePastFakeLParens(
LineState &State,
bool Newline);
130 void moveStatePastFakeRParens(
LineState &State);
133 void moveStatePastScopeOpener(
LineState &State,
bool Newline);
135 void moveStatePastScopeCloser(
LineState &State);
137 void moveStateToNewBlock(
LineState &State,
bool NewLine);
142 unsigned reformatRawStringLiteral(
const FormatToken &Current,
145 bool DryRun,
bool Newline);
150 bool DryRun,
bool AllowBreak,
bool Newline);
154 std::optional<FormatStyle> getRawStringStyle(
const FormatToken &Current,
175 std::pair<unsigned, bool> breakProtrudingToken(
const FormatToken &Current,
177 bool AllowBreak,
bool DryRun,
182 std::unique_ptr<BreakableToken>
193 void addTokenOnCurrentLine(
LineState &State,
bool DryRun,
194 unsigned ExtraSpaces);
203 unsigned addTokenOnNewLine(
LineState &State,
bool DryRun);
220 bool nextIsMultilineString(
const LineState &State);
227 bool BinPackInconclusiveFunctions;
228 llvm::Regex CommentPragmasRegex;
Contains functions for text encoding manipulation.
This class handles loading and caching of source files into memory.
Top level wrappers for InstallAPI frontend operations.
nullptr
This class represents a compute construct, representing a 'Kind' of ‘parallel’, 'serial',...
Encapsulates keywords that are context sensitive or for languages not properly supported by Clang's l...