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

References

tools/clang/lib/Format/TokenAnnotator.cpp
 2323     if (Right.isOneOf(Keywords.kw_extends, Keywords.kw_throws))
 2325     if (Right.is(Keywords.kw_implements))
 2330     if (Right.is(Keywords.kw_function) && Left.isNot(tok::comma))
 2335         (Right.is(TT_TemplateString) && Right.TokenText.startswith("}")))
 2335         (Right.is(TT_TemplateString) && Right.TokenText.startswith("}")))
 2338     if (Left.opensScope() && Right.closesScope())
 2342   if (Right.is(tok::identifier) && Right.Next && Right.Next->is(TT_DictLiteral))
 2342   if (Right.is(tok::identifier) && Right.Next && Right.Next->is(TT_DictLiteral))
 2342   if (Right.is(tok::identifier) && Right.Next && Right.Next->is(TT_DictLiteral))
 2344   if (Right.is(tok::l_square)) {
 2350     if (Right.is(TT_LambdaLSquare) && Left.is(tok::equal))
 2352     if (!Right.isOneOf(TT_ObjCMethodExpr, TT_LambdaLSquare,
 2359       (Right.is(tok::period) && Style.Language == FormatStyle::LK_Proto))
 2361   if (Right.isOneOf(TT_StartOfName, TT_FunctionDeclarationName) ||
 2362       Right.is(tok::kw_operator)) {
 2363     if (Line.startsWith(tok::kw_for) && Right.PartOfMultiVariableDeclStmt)
 2367     if (InFunctionDecl && Right.NestingLevel == 0)
 2371   if (Right.is(TT_PointerOrReference))
 2373   if (Right.is(TT_LambdaArrow))
 2375   if (Left.is(tok::equal) && Right.is(tok::l_brace))
 2388   if (Right.isMemberAccess()) {
 2408     return !Right.NextOperator || !Right.NextOperator->Previous->closesScope()
 2408     return !Right.NextOperator || !Right.NextOperator->Previous->closesScope()
 2413   if (Right.is(TT_TrailingAnnotation) &&
 2414       (!Right.Next || Right.Next->isNot(tok::l_paren))) {
 2414       (!Right.Next || Right.Next->isNot(tok::l_paren))) {
 2424     bool is_short_annotation = Right.TokenText.size() < 10;
 2434   if (Right.is(TT_SelectorName))
 2454   if (Right.is(tok::r_brace))
 2475   if (Right.is(tok::plus) && Left.isLabelString() &&
 2476       (Right.NextOperator || Right.OperatorIndex != 0))
 2476       (Right.NextOperator || Right.OperatorIndex != 0))
 2480   if (Right.is(tok::lessless) && Left.isLabelString() &&
 2481       (Right.NextOperator || Right.OperatorIndex != 1))
 2481       (Right.NextOperator || Right.OperatorIndex != 1))
 2483   if (Right.is(tok::lessless)) {
 2485     if (!Left.is(tok::r_paren) || Right.OperatorIndex > 0)
 2496     Level = Right.getPrecedence();