• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/Format/

Lines Matching refs:PreviousNonComment

763   const FormatToken *PreviousNonComment = Current.getPreviousNonComment();
798 Current.NestingLevel != 0 || !PreviousNonComment ||
799 !PreviousNonComment->is(tok::equal) ||
823 } else if (PreviousNonComment && PreviousNonComment->is(tok::colon) &&
824 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral)) {
840 if ((PreviousNonComment &&
841 PreviousNonComment->isOneOf(tok::comma, tok::semi) &&
845 if (PreviousNonComment &&
846 PreviousNonComment->isOneOf(TT_TemplateCloser, TT_JavaAnnotation) &&
850 (PreviousNonComment && PreviousNonComment->is(tok::question)))
897 if (PreviousNonComment &&
898 !PreviousNonComment->isOneOf(tok::comma, tok::colon, tok::semi) &&
899 (PreviousNonComment->isNot(TT_TemplateCloser) ||
901 !PreviousNonComment->isOneOf(
904 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope())
909 if (PreviousNonComment &&
910 (PreviousNonComment->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) ||
911 opensProtoMessageField(*PreviousNonComment, Style)))
959 const FormatToken *PreviousNonComment = Current.getPreviousNonComment();
1057 if ((PreviousNonComment &&
1058 (PreviousNonComment->ClosesTemplateDeclaration ||
1059 PreviousNonComment->isOneOf(
1111 if (PreviousNonComment && PreviousNonComment->is(tok::colon) &&
1112 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral))
1116 if (PreviousNonComment && PreviousNonComment->is(TT_CtorInitializerColon) &&
1119 if (PreviousNonComment && PreviousNonComment->is(TT_InheritanceColon) &&
1137 if (State.Stack.back().Indent == State.FirstIndent && PreviousNonComment &&
1138 !PreviousNonComment->isOneOf(tok::r_brace, TT_CtorInitializerComma))