Searched refs:InPPDirective (Results 1 - 10 of 10) sorted by relevance

/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Format/
H A DBreakableToken.h76 bool InPPDirective, encoding::Encoding Encoding,
78 : Tok(Tok), IndentLevel(IndentLevel), InPPDirective(InPPDirective),
83 const bool InPPDirective; member in class:clang::format::BreakableToken
101 StringRef Postfix, bool InPPDirective,
123 StringRef Postfix, bool InPPDirective,
142 unsigned StartColumn, bool InPPDirective,
170 bool FirstInLine, bool InPPDirective,
75 BreakableToken(const FormatToken &Tok, unsigned IndentLevel, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
H A DWhitespaceManager.h52 bool InPPDirective = false);
58 void addUntouchableToken(const FormatToken &Tok, bool InPPDirective);
66 /// When \p InPPDirective is true, escaped newlines are inserted. \p Spaces is
71 StringRef CurrentPrefix, bool InPPDirective,
101 /// \p StartOfTokenColumn and \p InPPDirective will be used to lay out
H A DTokenAnnotator.h42 InPPDirective(Line.InPPDirective),
85 bool InPPDirective; member in class:clang::format::AnnotatedLine
H A DUnwrappedLineParser.h46 bool InPPDirective; member in struct:clang::format::UnwrappedLine
199 : Level(0), InPPDirective(false), MustBeDeclaration(false) {}
H A DBreakableToken.cpp150 StringRef Prefix, StringRef Postfix, bool InPPDirective,
152 : BreakableToken(Tok, IndentLevel, InPPDirective, Encoding, Style),
161 StringRef Prefix, StringRef Postfix, bool InPPDirective,
164 InPPDirective, Encoding, Style) {}
179 Prefix, InPPDirective, 1, IndentLevel, StartColumn);
192 bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style)
195 InPPDirective, Encoding, Style) {
218 Postfix, Prefix, InPPDirective, /*Newlines=*/1, IndentLevel, StartColumn);
226 "", /*InPPDirective=*/false, /*Newlines=*/0, /*IndentLevel=*/0,
235 /*InPPDirective
148 BreakableSingleLineToken( const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, StringRef Prefix, StringRef Postfix, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
159 BreakableStringLiteral( const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, StringRef Prefix, StringRef Postfix, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
190 BreakableLineComment( const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
241 BreakableBlockComment( const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, unsigned OriginalStartColumn, bool FirstInLine, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
[all...]
H A DWhitespaceManager.cpp50 bool InPPDirective) {
56 Tok.Tok.getKind(), InPPDirective && !Tok.IsFirst));
60 bool InPPDirective) {
66 InPPDirective && !Tok.IsFirst));
71 StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective,
86 InPPDirective && !Tok.IsFirst));
47 replaceWhitespace(FormatToken &Tok, unsigned Newlines, unsigned IndentLevel, unsigned Spaces, unsigned StartOfTokenColumn, bool InPPDirective) argument
59 addUntouchableToken(const FormatToken &Tok, bool InPPDirective) argument
69 replaceWhitespaceInToken( const FormatToken &Tok, unsigned Offset, unsigned ReplaceChars, StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective, unsigned Newlines, unsigned IndentLevel, unsigned Spaces) argument
H A DFormat.cpp413 } else if (TheLine->InPPDirective && (TheLine->First->HasUnescapedNewline ||
427 if (!I[1]->InPPDirective || I[1]->First->HasUnescapedNewline)
429 if (I + 2 != E && I[2]->InPPDirective && !I[2]->First->HasUnescapedNewline)
444 if (I[1]->InPPDirective != (*I)->InPPDirective ||
445 (I[1]->InPPDirective && I[1]->First->HasUnescapedNewline))
557 if (!FormatPPDirective && TheLine.InPPDirective &&
591 Indent, TheLine.InPPDirective);
600 if (NextLine->InPPDirective && !NextLine->First->HasUnescapedNewline)
601 ColumnLimit = getColumnLimit(TheLine.InPPDirective);
713 formatFirstToken(FormatToken &RootToken, const AnnotatedLine *PreviousLine, unsigned IndentLevel, unsigned Indent, bool InPPDirective) argument
[all...]
H A DUnwrappedLineParser.cpp66 Line.InPPDirective = true;
72 Line.InPPDirective = false;
134 Parser.Line->InPPDirective = PreBlockLine->InPPDirective;
245 /*MustBeDeclaration=*/ !Line->InPPDirective);
276 (Style.IndentCaseLabels || (Line->InPPDirective && Line->Level == 1)))
1042 if (Line->Level > 1 || (!Line->InPPDirective && Line->Level > 0))
1244 << (Line.InPPDirective ? " MACRO" : "") << ": ";
1315 while (!Line->InPPDirective && FormatTok->Tok.is(tok::hash) &&
1330 !Line->InPPDirective) {
[all...]
H A DContinuationIndenter.cpp427 State.Column, State.Line->InPPDirective);
770 State.Line->InPPDirective, Encoding, Style));
777 !Current.Previous, State.Line->InPPDirective, Encoding, Style));
782 StartColumn, /*InPPDirective=*/false,
861 return Style.ColumnLimit - (State.Line->InPPDirective ? 2 : 0);
H A DTokenAnnotator.cpp608 !Line.InPPDirective &&

Completed in 112 milliseconds