Home
last modified time | relevance | path

Searched refs:Whitespaces (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/lib/Format/
H A DBreakableToken.h163 WhitespaceManager &Whitespaces) const = 0;
199 WhitespaceManager &Whitespaces) const {} in reflow() argument
207 WhitespaceManager &Whitespaces) const {} in adaptStartOfLine() argument
225 /*ContentIndent=*/0, Whitespaces); in replaceWhitespaceAfterLastLine()
261 WhitespaceManager &Whitespaces) const override;
376 WhitespaceManager &Whitespaces) const override;
380 WhitespaceManager &Whitespaces) const override;
383 WhitespaceManager &Whitespaces) const override;
448 WhitespaceManager &Whitespaces) const override;
452 WhitespaceManager &Whitespaces) const override;
[all …]
H A DUnwrappedLineFormatter.h31 WhitespaceManager *Whitespaces, in UnwrappedLineFormatter() argument
36 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), in UnwrappedLineFormatter()
67 WhitespaceManager *Whitespaces; variable
H A DBreakableToken.cpp290 Whitespaces.replaceWhitespaceInToken( in insertBreak()
318 WhitespaceManager &Whitespaces) const { in compressWhitespace()
327 Whitespaces.replaceWhitespaceInToken( in compressWhitespace()
624 Whitespaces.replaceWhitespaceInToken( in insertBreak()
670 Whitespaces.replaceWhitespaceInToken( in reflow()
688 Whitespaces); in adaptStartOfLine()
720 Whitespaces.replaceWhitespaceInToken( in adaptStartOfLine()
923 Whitespaces.replaceWhitespaceInToken( in insertBreak()
948 Whitespaces.replaceWhitespace( in reflow()
1015 Whitespaces.replaceWhitespace(*Tokens[LineIndex], in adaptStartOfLine()
[all …]
H A DUnwrappedLineFormatter.cpp922 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), in LineFormatter()
1010 Whitespaces->replaceWhitespace( in formatChildren()
1025 WhitespaceManager *Whitespaces; member in clang::format::__anon8a591c740111::LineFormatter
1034 WhitespaceManager *Whitespaces, in NoColumnLimitLineFormatter() argument
1037 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {} in NoColumnLimitLineFormatter()
1064 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {} in NoLineBreakFormatter()
1085 WhitespaceManager *Whitespaces, in OptimizingLineFormatter() argument
1088 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {} in OptimizingLineFormatter()
1374 Whitespaces->addUntouchableToken(*TheLine.First, in format()
1401 Whitespaces->replaceWhitespace(RootToken, Newlines, TokenIndent, in formatFirstToken()
[all …]
H A DDefinitionBlockSeparator.cpp70 WhitespaceManager Whitespaces( in separateBlocks() local
102 Whitespaces.replaceWhitespace(*TargetToken, NewlineToInsert, in separateBlocks()
250 for (const auto &R : Whitespaces.generateReplacements()) { in separateBlocks()
H A DContinuationIndenter.h57 WhitespaceManager &Whitespaces,
194 WhitespaceManager &Whitespaces; variable
H A DContinuationIndenter.cpp228 WhitespaceManager &Whitespaces, in ContinuationIndenter() argument
232 Whitespaces(Whitespaces), Encoding(Encoding), in ContinuationIndenter()
673 Whitespaces.replaceWhitespace(Current, /*Newlines=*/0, Spaces, in addTokenOnCurrentLine()
1906 auto PrefixErr = Whitespaces.addReplacement(tooling::Replacement( in reformatRawStringLiteral()
1929 auto Err = Whitespaces.addReplacement(tooling::Replacement( in reformatRawStringLiteral()
2204 Token->adaptStartOfLine(0, Whitespaces); in breakProtrudingToken()
2319 Whitespaces); in breakProtrudingToken()
2366 Whitespaces); in breakProtrudingToken()
2466 Token->adaptStartOfLine(NextLineIndex, Whitespaces); in breakProtrudingToken()
2486 Token->reflow(NextLineIndex, Whitespaces); in breakProtrudingToken()
[all …]
H A DFormat.cpp2032 WhitespaceManager Whitespaces( in analyze() local
2040 Env.getSourceManager(), Whitespaces, Encoding, in analyze()
2043 UnwrappedLineFormatter(&Indenter, &Whitespaces, Style, in analyze()
2052 for (const auto &R : Whitespaces.generateReplacements()) in analyze()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DIssueHash.cpp138 static StringRef Whitespaces = " \t\n"; in NormalizeLine() local
142 StringRef::size_type col = Str.find_first_not_of(Whitespaces); in NormalizeLine()
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A DBreakableToken-reduced.ll212 …rce, %"class.clang::format::WhitespaceManager"* dereferenceable(1504) %Whitespaces) unnamed_addr #…
263 …9StringRefES6_bjji(%"class.clang::format::WhitespaceManager"* nonnull %Whitespaces, %"struct.clang…