/external/clang/lib/Format/ |
H A D | BreakableToken.h | 76 bool InPPDirective, encoding::Encoding Encoding, 78 : Tok(Tok), IndentLevel(IndentLevel), InPPDirective(InPPDirective), 83 const bool InPPDirective; member in class:clang::format::BreakableToken 100 StringRef Postfix, bool InPPDirective, 122 StringRef Postfix, bool InPPDirective, 140 unsigned StartColumn, bool InPPDirective, 167 bool FirstInLine, bool InPPDirective, 75 BreakableToken(const FormatToken &Tok, unsigned IndentLevel, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
|
H A D | TokenAnnotator.h | 42 InPPDirective(Line.InPPDirective), 86 bool InPPDirective; member in class:clang::format::AnnotatedLine
|
H A D | UnwrappedLineParser.h | 46 bool InPPDirective; member in struct:clang::format::UnwrappedLine 212 : Level(0), InPPDirective(false), MustBeDeclaration(false) {}
|
H A D | WhitespaceManager.cpp | 49 bool InPPDirective) { 55 Tok.Tok.getKind(), InPPDirective && !Tok.IsFirst)); 59 bool InPPDirective) { 65 InPPDirective && !Tok.IsFirst)); 70 StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective, 85 InPPDirective && !Tok.IsFirst)); 46 replaceWhitespace(FormatToken &Tok, unsigned Newlines, unsigned IndentLevel, unsigned Spaces, unsigned StartOfTokenColumn, bool InPPDirective) argument 58 addUntouchableToken(const FormatToken &Tok, bool InPPDirective) argument 68 replaceWhitespaceInToken( const FormatToken &Tok, unsigned Offset, unsigned ReplaceChars, StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective, unsigned Newlines, unsigned IndentLevel, int Spaces) argument
|
H A D | BreakableToken.cpp | 146 StringRef Prefix, StringRef Postfix, bool InPPDirective, 148 : BreakableToken(Tok, IndentLevel, InPPDirective, Encoding, Style), 157 StringRef Prefix, StringRef Postfix, bool InPPDirective, 160 InPPDirective, Encoding, Style) {} 182 Prefix, InPPDirective, 1, IndentLevel, LeadingSpaces); 202 bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) 205 InPPDirective, Encoding, Style) { 228 Postfix, Prefix, InPPDirective, /*Newlines=*/1, IndentLevel, StartColumn); 236 "", /*InPPDirective=*/false, /*Newlines=*/0, /*IndentLevel=*/0, 245 /*InPPDirective 144 BreakableSingleLineToken( const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, StringRef Prefix, StringRef Postfix, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument 155 BreakableStringLiteral( const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, StringRef Prefix, StringRef Postfix, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument 200 BreakableLineComment( const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument 251 BreakableBlockComment( const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, unsigned OriginalStartColumn, bool FirstInLine, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument [all...] |
H A D | Format.cpp | 637 if (TheLine->InPPDirective && 651 if (!I[1]->InPPDirective || I[1]->First->HasUnescapedNewline) 653 if (I + 2 != E && I[2]->InPPDirective && !I[2]->First->HasUnescapedNewline) 669 if (I[1]->InPPDirective != (*I)->InPPDirective || 670 (I[1]->InPPDirective && I[1]->First->HasUnescapedNewline)) 766 if (I[0]->InPPDirective && I + 1 != E && 823 if (TheLine.InPPDirective) { 867 Indent, TheLine.InPPDirective); 876 if (NextLine->InPPDirective 991 formatFirstToken(FormatToken &RootToken, const AnnotatedLine *PreviousLine, unsigned IndentLevel, unsigned Indent, bool InPPDirective) argument [all...] |