| /freebsd-14.2/contrib/llvm-project/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, 306 unsigned StartColumn, unsigned UnbreakableTailLength, bool InPPDirective, 337 bool InPPDirective, encoding::Encoding Encoding, 405 bool InPPDirective, encoding::Encoding Encoding, 483 bool InPPDirective, encoding::Encoding Encoding,
|
| H A D | UnwrappedLineFormatter.cpp | 66 (Line.InPPDirective || in nextLine() 80 if (!Line.InPPDirective) { in nextLine() 259 if (TheLine->InPPDirective && in tryFitMultipleLinesInOne() 594 if (TheLine->InPPDirective && in tryFitMultipleLinesInOne() 625 if (I[1]->InPPDirective != (*I)->InPPDirective || in tryMergeSimpleControlStatement() 669 bool InPPDirective = I[0]->InPPDirective; in tryMergeShortCaseLabels() local 676 if (Line->InPPDirective != InPPDirective) in tryMergeShortCaseLabels() 693 if (Line->InPPDirective != InPPDirective) in tryMergeShortCaseLabels() 1069 State.Line->InPPDirective); in formatChildren() 1587 InPPDirective && in getColumnLimit() [all …]
|
| H A D | BreakableToken.cpp | 271 : BreakableToken(Tok, InPPDirective, Encoding, Style), in BreakableStringLiteral() 292 Prefix, InPPDirective, 1, StartColumn); in insertBreak() 304 UnbreakableTailLength, InPPDirective, Encoding, Style), in BreakableStringLiteralUsingOperators() 383 /*CurrentPrefix=*/Prefix, InPPDirective, /*NewLines=*/1, in insertBreak() 401 /*CurrentPrefix=*/LeftBraceQuote, InPPDirective, /*NewLines=*/0, in updateAfterBroken() 413 : BreakableToken(Token, InPPDirective, Encoding, Style), in BreakableComment() 482 unsigned OriginalStartColumn, bool FirstInLine, bool InPPDirective, in BreakableBlockComment() argument 626 if (InPPDirective && Lines[LineIndex - 1].ends_with("\\")) in adjustWhitespace() 738 PrefixWithTrailingIndent, InPPDirective, /*Newlines=*/1, in insertBreak() 785 /*CurrentPrefix=*/ReflowPrefix, InPPDirective, /*Newlines=*/0, in reflow() [all …]
|
| H A D | TokenAnnotator.h | 53 InPPDirective(Line.InPPDirective), in AnnotatedLine() 174 bool InPPDirective; variable
|
| H A D | WhitespaceManager.h | 59 bool InPPDirective = false); 65 void addUntouchableToken(const FormatToken &Tok, bool InPPDirective); 86 StringRef CurrentPrefix, bool InPPDirective,
|
| H A D | FormatTokenSource.h | 196 Line.InPPDirective = true; in ScopedMacroState() 203 Line.InPPDirective = false; in ~ScopedMacroState()
|
| H A D | UnwrappedLineFormatter.h | 56 unsigned getColumnLimit(bool InPPDirective,
|
| H A D | UnwrappedLineParser.cpp | 41 << ")" << (Line.InPPDirective ? " MACRO" : "") << ": "; in printLine() 106 Parser.Line->InPPDirective = PreBlockLine->InPPDirective; in ScopedLineState() 210 if (Line.InPPDirective && Line.Level > 0) in parse() 330 if (!Lines.empty() && Lines.back().InPPDirective) in precededByCommentOrPPDirective() 403 if (!Style.RemoveBracesLLVM || Line->InPPDirective || in parseLevel() 451 (Line->InPPDirective && Line->Level == 1))) { in parseLevel() 734 assert(!Line.InPPDirective); in mightFitOnOneLine() 2689 assert(!Line->InPPDirective); in parseUnbracedBody() 2692 if (!L.InPPDirective && getLastNonComment(L)) { in parseUnbracedBody() 4775 !Line->InPPDirective) { in readToken() [all …]
|
| H A D | AffectedRangeManager.cpp | 35 if (Line->InPPDirective) { in computeAffectedLines()
|
| H A D | WhitespaceManager.cpp | 56 bool IsAligned, bool InPPDirective) { in replaceWhitespace() argument 62 IsAligned, InPPDirective && !Tok.IsFirst, in replaceWhitespace() 67 bool InPPDirective) { in addUntouchableToken() argument 73 /*IsAligned=*/false, InPPDirective && !Tok.IsFirst, in addUntouchableToken() 90 StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective, in replaceWhitespaceInToken() argument 99 /*IsAligned=*/true, InPPDirective && !Tok.IsFirst, in replaceWhitespaceInToken()
|
| H A D | UnwrappedLineParser.h | 55 bool InPPDirective = false; member
|
| H A D | UsingDeclarationsSorter.cpp | 221 if (Line->InPPDirective || !Line->startsWith(tok::kw_using) || in analyze()
|
| H A D | DefinitionBlockSeparator.cpp | 79 if (CurrentLine->InPPDirective) in separateBlocks()
|
| H A D | NamespaceEndCommentsFixer.cpp | 250 if (!Line->Affected || Line->InPPDirective || !Line->startsWith(tok::r_brace)) in getNamespaceToken()
|
| H A D | ContinuationIndenter.cpp | 1069 State.Line->InPPDirective && State.Line->Type != LT_ImportStatement; in addTokenOnNewLine() 2330 UnbreakableTailLength, State.Line->InPPDirective, Encoding, Style); in createBreakableToken() 2349 State.Line->InPPDirective, Encoding, Style); in createBreakableToken() 2361 State.Line->InPPDirective, Encoding, Style, Whitespaces.useCRLF()); in createBreakableToken() 2770 return Style.ColumnLimit - (State.Line->InPPDirective ? 2 : 0); in getColumnLimit()
|
| H A D | QualifierAlignmentFixer.cpp | 553 if (!Line->Affected || Line->InPPDirective) in fixQualifierAlignment()
|
| H A D | TokenAnnotator.cpp | 368 } else if (Line.InPPDirective && in parseParens() 384 } else if (!Line.MustBeDeclaration && !Line.InPPDirective) { in parseParens() 1044 if (Line.Level > 1 || (!Line.InPPDirective && Line.Level > 0)) in consumeToken() 1410 (Line.Level > 1 || (!Line.InPPDirective && Line.Level > 0))) { in consumeToken() 2488 (Tok.Next->Next->is(tok::numeric_constant) || Line.InPPDirective)) { in rParenEndsCast() 2491 if (Line.InPPDirective && Tok.Next->is(tok::minus)) in rParenEndsCast()
|