| /netbsd-src/external/apache2/llvm/dist/clang/lib/Format/ |
| H A D | BreakableToken.h | 234 BreakableToken(const FormatToken &Tok, bool InPPDirective, in BreakableToken() argument 236 : Tok(Tok), InPPDirective(InPPDirective), Encoding(Encoding), in BreakableToken() 240 const bool InPPDirective; variable 253 unsigned UnbreakableTailLength, bool InPPDirective, 293 bool InPPDirective, encoding::Encoding Encoding, 361 bool InPPDirective, encoding::Encoding Encoding, 439 bool InPPDirective, encoding::Encoding Encoding,
|
| H A D | UnwrappedLineFormatter.cpp | 59 if (Line.InPPDirective) { in nextLine() 88 !Line.InPPDirective) in adjustToUnmodifiedLine() 214 if (TheLine->InPPDirective && in tryFitMultipleLinesInOne() 215 (!I[1]->InPPDirective || I[1]->First->HasUnescapedNewline)) in tryFitMultipleLinesInOne() 379 if (Previous->is(tok::greater) && !I[-1]->InPPDirective) in tryFitMultipleLinesInOne() 449 if (TheLine->InPPDirective && in tryFitMultipleLinesInOne() 462 if (I + 2 != E && I[2]->InPPDirective && !I[2]->First->HasUnescapedNewline) in tryMergeSimplePPDirective() 479 if (I[1]->InPPDirective != (*I)->InPPDirective || in tryMergeSimpleControlStatement() 480 (I[1]->InPPDirective && I[1]->First->HasUnescapedNewline)) in tryMergeSimpleControlStatement() 517 bool InPPDirective = I[0]->InPPDirective; in tryMergeShortCaseLabels() local [all …]
|
| H A D | BreakableToken.cpp | 269 StringRef Postfix, unsigned UnbreakableTailLength, bool InPPDirective, in BreakableStringLiteral() argument 271 : BreakableToken(Tok, InPPDirective, Encoding, Style), in BreakableStringLiteral() 292 Prefix, InPPDirective, 1, StartColumn); in insertBreak() 296 unsigned StartColumn, bool InPPDirective, in BreakableComment() argument 299 : BreakableToken(Token, InPPDirective, Encoding, Style), in BreakableComment() 368 unsigned OriginalStartColumn, bool FirstInLine, bool InPPDirective, in BreakableBlockComment() argument 370 : BreakableComment(Token, StartColumn, InPPDirective, Encoding, Style), in BreakableBlockComment() 511 if (InPPDirective && Lines[LineIndex - 1].endswith("\\")) in adjustWhitespace() 627 PrefixWithTrailingIndent, InPPDirective, /*Newlines=*/1, in insertBreak() 673 /*CurrentPrefix=*/ReflowPrefix, InPPDirective, /*Newlines=*/0, in reflow() [all …]
|
| H A D | WhitespaceManager.h | 54 bool InPPDirective = false); 60 void addUntouchableToken(const FormatToken &Tok, bool InPPDirective); 81 StringRef CurrentPrefix, bool InPPDirective,
|
| H A D | TokenAnnotator.h | 43 InPPDirective(Line.InPPDirective), in AnnotatedLine() 131 bool InPPDirective; variable
|
| H A D | UnwrappedLineParser.h | 47 bool InPPDirective; member 309 : Level(0), InPPDirective(false), MustBeDeclaration(false), in UnwrappedLine()
|
| H A D | WhitespaceManager.cpp | 49 bool IsAligned, bool InPPDirective) { in replaceWhitespace() argument 55 IsAligned, InPPDirective && !Tok.IsFirst, in replaceWhitespace() 60 bool InPPDirective) { in addUntouchableToken() argument 66 /*IsAligned=*/false, InPPDirective && !Tok.IsFirst, in addUntouchableToken() 77 StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective, in replaceWhitespaceInToken() argument 86 /*IsAligned=*/true, InPPDirective && !Tok.IsFirst, in replaceWhitespaceInToken()
|
| H A D | UnwrappedLineFormatter.h | 55 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() 272 if (Line.InPPDirective && Line.Level > 0) in parse() 303 !Line->InPPDirective && Style.Language != FormatStyle::LK_JavaScript; in parseFile() 421 (Style.IndentCaseLabels || (Line->InPPDirective && Line->Level == 1))) in parseLevel() 2267 if (Line->Level > 1 || (!Line->InPPDirective && Line->Level > 0)) in parseLabel() 2945 << (Line.InPPDirective ? " MACRO" : "") << ": "; in printDebugInfo() 3003 return (Line->InPPDirective || FormatTok.HasUnescapedNewline) && in isOnNewLine() 3213 while (!Line->InPPDirective && FormatTok->Tok.is(tok::hash) && in readToken() [all …]
|
| H A D | AffectedRangeManager.cpp | 34 if (Line->InPPDirective) { in computeAffectedLines()
|
| H A D | UsingDeclarationsSorter.cpp | 193 if (AnnotatedLines[I]->InPPDirective || in analyze()
|
| H A D | NamespaceEndCommentsFixer.cpp | 173 if (!Line->Affected || Line->InPPDirective || !Line->startsWith(tok::r_brace)) in getNamespaceToken()
|
| H A D | ContinuationIndenter.cpp | 887 State.Line->InPPDirective && State.Line->Type != LT_ImportStatement; in addTokenOnNewLine() 1956 State.Line->InPPDirective, Encoding, Style); in createBreakableToken() 1968 State.Line->InPPDirective, Encoding, Style, Whitespaces.useCRLF()); in createBreakableToken() 2363 return Style.ColumnLimit - (State.Line->InPPDirective ? 2 : 0); in getColumnLimit()
|
| H A D | TokenAnnotator.cpp | 260 } else if (Line.InPPDirective && in parseParens() 273 } else if (!Line.MustBeDeclaration && !Line.InPPDirective) { in parseParens()
|