reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Format/ContinuationIndenter.cpp
 1308   if (!Current.opensScope())
 1311   if (Current.MatchingParen && Current.BlockKind == BK_Block) {
 1311   if (Current.MatchingParen && Current.BlockKind == BK_Block) {
 1322   if (Current.isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) ||
 1323       opensProtoMessageField(Current, Style)) {
 1324     if (Current.opensBlockOrBlockTypeList(Style)) {
 1330     const FormatToken *NextNoComment = Current.getNextNonComment();
 1331     bool EndsInComma = Current.MatchingParen &&
 1332                        Current.MatchingParen->Previous &&
 1333                        Current.MatchingParen->Previous->is(tok::comma);
 1334     AvoidBinPacking = EndsInComma || Current.is(TT_DictLiteral) ||
 1342     if (Current.ParameterCount > 1)
 1353     if (Current.is(tok::less) && Current.ParentBracket == tok::l_paren) {
 1353     if (Current.is(tok::less) && Current.ParentBracket == tok::l_paren) {
 1359         Current.MatchingParen &&
 1360         Current.MatchingParen->getPreviousNonComment() &&
 1361         Current.MatchingParen->getPreviousNonComment()->is(tok::comma);
 1379          (Current.PackingKind == PPK_OnePerLine ||
 1381            Current.PackingKind == PPK_Inconclusive)));
 1383     if (Current.is(TT_ObjCMethodExpr) && Current.MatchingParen) {
 1383     if (Current.is(TT_ObjCMethodExpr) && Current.MatchingParen) {
 1387         if (getLengthToMatchingParen(Current, State.Stack) + State.Column >
 1393         for (const FormatToken *Tok = &Current;
 1394              Tok && Tok != Current.MatchingParen; Tok = Tok->Next) {
 1411       Current.Children.empty() &&
 1412       !Current.isOneOf(TT_DictLiteral, TT_ArrayInitializerLSquare) &&
 1415        (Current.is(TT_TemplateOpener) &&
 1418       ParenState(&Current, NewIndent, LastSpace, AvoidBinPacking, NoLineBreak));
 1421   State.Stack.back().HasMultipleNestedBlocks = Current.BlockParameterCount > 1;
 1423       Current.is(TT_ArrayInitializerLSquare) && Current.Previous &&
 1423       Current.is(TT_ArrayInitializerLSquare) && Current.Previous &&
 1424       Current.Previous->is(tok::at);