| /freebsd-12.1/contrib/llvm/tools/clang/lib/Format/ |
| H A D | BreakableToken.h | 239 BreakableToken(const FormatToken &Tok, bool InPPDirective, in BreakableToken() argument 241 : Tok(Tok), InPPDirective(InPPDirective), Encoding(Encoding), in BreakableToken() 245 const bool InPPDirective; variable 258 unsigned UnbreakableTailLength, bool InPPDirective, 298 bool InPPDirective, encoding::Encoding Encoding, 366 bool InPPDirective, encoding::Encoding Encoding, 442 bool InPPDirective, encoding::Encoding Encoding,
|
| H A D | UnwrappedLineFormatter.cpp | 60 if (Line.InPPDirective) { in nextLine() 87 !Line.InPPDirective) in adjustToUnmodifiedLine() 199 if (TheLine->InPPDirective && in tryFitMultipleLinesInOne() 377 if (TheLine->InPPDirective && in tryFitMultipleLinesInOne() 405 if (I[1]->InPPDirective != (*I)->InPPDirective || in tryMergeSimpleControlStatement() 436 bool InPPDirective = I[0]->InPPDirective; in tryMergeShortCaseLabels() local 442 if (Line->InPPDirective != InPPDirective) in tryMergeShortCaseLabels() 456 if (Line->InPPDirective != InPPDirective) in tryMergeShortCaseLabels() 617 if (I[0]->InPPDirective && I + 1 != E && in limitConsideringMacros() 1200 InPPDirective && in getColumnLimit() [all …]
|
| H A D | BreakableToken.cpp | 235 StringRef Postfix, unsigned UnbreakableTailLength, bool InPPDirective, in BreakableStringLiteral() argument 237 : BreakableToken(Tok, InPPDirective, Encoding, Style), in BreakableStringLiteral() 258 Prefix, InPPDirective, 1, StartColumn); in insertBreak() 265 : BreakableToken(Token, InPPDirective, Encoding, Style), in BreakableComment() 334 unsigned OriginalStartColumn, bool FirstInLine, bool InPPDirective, in BreakableBlockComment() argument 336 : BreakableComment(Token, StartColumn, InPPDirective, Encoding, Style), in BreakableBlockComment() 465 if (InPPDirective && Lines[LineIndex - 1].endswith("\\")) in adjustWhitespace() 582 PrefixWithTrailingIndent, InPPDirective, /*Newlines=*/1, in insertBreak() 629 /*CurrentPrefix=*/ReflowPrefix, InPPDirective, /*Newlines=*/0, in reflow() 711 unsigned OriginalStartColumn, bool FirstInLine, bool InPPDirective, in BreakableLineCommentSection() argument [all …]
|
| H A D | WhitespaceManager.h | 52 bool InPPDirective = false); 58 void addUntouchableToken(const FormatToken &Tok, bool InPPDirective); 79 StringRef CurrentPrefix, bool InPPDirective,
|
| H A D | TokenAnnotator.h | 44 InPPDirective(Line.InPPDirective), in AnnotatedLine() 124 bool InPPDirective; variable
|
| H A D | WhitespaceManager.cpp | 49 bool InPPDirective) { in replaceWhitespace() argument 55 InPPDirective && !Tok.IsFirst, in replaceWhitespace() 60 bool InPPDirective) { in addUntouchableToken() argument 66 InPPDirective && !Tok.IsFirst, in addUntouchableToken() 77 StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective, in replaceWhitespaceInToken() argument 86 InPPDirective && !Tok.IsFirst, /*IsInsideToken=*/true)); in replaceWhitespaceInToken()
|
| H A D | UnwrappedLineParser.h | 48 bool InPPDirective; member 292 : Level(0), InPPDirective(false), MustBeDeclaration(false), in UnwrappedLine()
|
| H A D | UnwrappedLineFormatter.h | 58 unsigned getColumnLimit(bool InPPDirective,
|
| H A D | UnwrappedLineParser.cpp | 90 Line.InPPDirective = true; in ScopedMacroState() 96 Line.InPPDirective = false; in ~ScopedMacroState() 151 Parser.Line->InPPDirective = PreBlockLine->InPPDirective; in ScopedLineState() 267 if (Line.InPPDirective && Line.Level > 0) in parse() 298 !Line->InPPDirective && Style.Language != FormatStyle::LK_JavaScript; in parseFile() 375 (Style.IndentCaseLabels || (Line->InPPDirective && Line->Level == 1))) in parseLevel() 1907 if (Line->Level > 1 || (!Line->InPPDirective && Line->Level > 0)) in parseLabel() 2364 << (Line.InPPDirective ? " MACRO" : "") << ": "; in printDebugInfo() 2410 return (Line->InPPDirective || FormatTok.HasUnescapedNewline) && in isOnNewLine() 2619 while (!Line->InPPDirective && FormatTok->Tok.is(tok::hash) && in readToken() [all …]
|
| H A D | AffectedRangeManager.cpp | 35 if (Line->InPPDirective) { in computeAffectedLines()
|
| H A D | NamespaceEndCommentsFixer.cpp | 115 if (!Line->Affected || Line->InPPDirective || !Line->startsWith(tok::r_brace)) in getNamespaceToken()
|
| H A D | UsingDeclarationsSorter.cpp | 195 if (AnnotatedLines[I]->InPPDirective || in analyze()
|
| H A D | ContinuationIndenter.cpp | 842 State.Line->InPPDirective && State.Line->Type != LT_ImportStatement; in addTokenOnNewLine() 1763 State.Line->InPPDirective, Encoding, Style); in createBreakableToken() 1775 State.Line->InPPDirective, Encoding, Style); in createBreakableToken() 2166 return Style.ColumnLimit - (State.Line->InPPDirective ? 2 : 0); in getColumnLimit()
|
| H A D | TokenAnnotator.cpp | 199 } else if (Line.InPPDirective && in parseParens() 214 } else if (!Line.MustBeDeclaration && !Line.InPPDirective) { in parseParens()
|