/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 | 43 InPPDirective(Line.InPPDirective), 105 bool InPPDirective; member in class:clang::format::AnnotatedLine
|
H A D | UnwrappedLineParser.h | 47 bool InPPDirective; member in struct:clang::format::UnwrappedLine 215 : Level(0), InPPDirective(false), MustBeDeclaration(false) {}
|
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) { 230 Postfix, Prefix, InPPDirective, /*Newlines=*/1, IndentLevel, StartColumn); 238 "", /*InPPDirective=*/false, /*Newlines=*/0, /*IndentLevel=*/0, 246 /*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 252 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 | WhitespaceManager.cpp | 53 bool InPPDirective) { 59 Newlines, "", "", Tok.Tok.getKind(), InPPDirective && !Tok.IsFirst, 64 bool InPPDirective) { 70 Tok.Tok.getKind(), InPPDirective && !Tok.IsFirst, 76 StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective, 91 InPPDirective && !Tok.IsFirst, 50 replaceWhitespace(FormatToken &Tok, unsigned Newlines, unsigned IndentLevel, unsigned Spaces, unsigned StartOfTokenColumn, bool InPPDirective) argument 63 addUntouchableToken(const FormatToken &Tok, bool InPPDirective) argument 74 replaceWhitespaceInToken( const FormatToken &Tok, unsigned Offset, unsigned ReplaceChars, StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective, unsigned Newlines, unsigned IndentLevel, int Spaces) argument
|
H A D | UnwrappedLineFormatter.cpp | 58 if (Line.InPPDirective) { 78 !Line.InPPDirective) 173 if (TheLine->InPPDirective && 174 (!I[1]->InPPDirective || I[1]->First->HasUnescapedNewline)) 241 if (TheLine->InPPDirective && 254 if (I + 2 != E && I[2]->InPPDirective && !I[2]->First->HasUnescapedNewline) 269 if (I[1]->InPPDirective != (*I)->InPPDirective || 270 (I[1]->InPPDirective && I[1]->First->HasUnescapedNewline)) 297 bool InPPDirective local 902 formatFirstToken(FormatToken &RootToken, const AnnotatedLine *PreviousLine, unsigned IndentLevel, unsigned Indent, bool InPPDirective) argument 948 getColumnLimit(bool InPPDirective, const AnnotatedLine *NextLine) const argument [all...] |