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

References

tools/clang/include/clang/Basic/OperatorKinds.def
   73 OVERLOADED_OPERATOR(Less                 , "<"   , less               , false, true , false)
tools/clang/lib/Basic/OperatorPrecedence.cpp
   63   case tok::less:
tools/clang/lib/Format/ContinuationIndenter.cpp
   98             tok::l_brace, TT_ArrayInitializerLSquare, tok::less)) {
  138   if (LessTok.isNot(tok::less))
  982         Current.Next->isOneOf(tok::less, tok::l_brace))))
 1353     if (Current.is(tok::less) && Current.ParentBracket == tok::l_paren) {
tools/clang/lib/Format/FormatToken.h
  388     if (is(TT_DictLiteral) && is(tok::less))
  511            (is(tok::less) && (Style.Language == FormatStyle::LK_Proto ||
tools/clang/lib/Format/FormatTokenLexer.cpp
  281     FourthTokenIsLess = (Tokens.end() - 4)[0]->is(tok::less);
  284   if (First[2]->is(tok::less) || First[1]->isNot(tok::less) ||
  284   if (First[2]->is(tok::less) || First[1]->isNot(tok::less) ||
  285       First[0]->isNot(tok::less) || FourthTokenIsLess)
  780     FormatTok->Tok.setKind(tok::less);
tools/clang/lib/Format/TokenAnnotator.cpp
   93     ScopedContextCreator ContextCreator(*this, tok::less, 12);
  152               (CurrentToken->isOneOf(tok::l_brace, tok::less) &&
  683         if (CurrentToken->isOneOf(tok::colon, tok::l_brace, tok::less)) {
  740     if (CurrentToken && CurrentToken->is(tok::less)) {
  907     case tok::less:
 1011     if (CurrentToken && CurrentToken->is(tok::less)) {
 1146     if (CurrentToken->is(tok::less) && Line.Last->is(tok::greater)) {
 1906             NextNonComment->is(tok::less))))
 2536   if (Right.is(tok::less) && Line.Type == LT_ObjCDecl) {
 2542   if (Right.is(tok::less) && Left.is(tok::kw_template))
 2555   if (Left.is(tok::less) || Right.isOneOf(tok::greater, tok::less)) {
 2555   if (Left.is(tok::less) || Right.isOneOf(tok::greater, tok::less)) {
 2560       if (Left.is(tok::less) && Right.is(tok::greater))
 2732     if (Right.isOneOf(tok::l_brace, tok::less) && Left.is(TT_SelectorName))
 2739         Right.isOneOf(tok::l_brace, tok::less))
 2977   if (Right.is(tok::less) && Left.isNot(tok::l_paren) &&
 3100        (Right.Previous->is(tok::less) && Right.Previous->Previous &&
 3209          LBrace->is(TT_ArrayInitializerLSquare) || LBrace->is(tok::less))) {
 3419       if (((Right.is(tok::l_brace) || Right.is(tok::less)) &&
 3477                           tok::less, tok::coloncolon);
 3506       (Left.is(tok::less) && Right.is(tok::less)))
 3506       (Left.is(tok::less) && Right.is(tok::less)))
tools/clang/lib/Format/UnwrappedLineParser.cpp
  416         if (PrevTok->isOneOf(tok::colon, tok::less))
  866          Tok.isNot(tok::less) && Tok.isNot(tok::greater) &&
 1201       if (Previous && Previous->is(tok::less)) {
 1394                  FormatTok->Tok.is(tok::less)) {
 1440     case tok::less:
 1640     case tok::less:
 2070          FormatTok->isOneOf(tok::colon, tok::coloncolon, tok::less,
 2220   if (FormatTok->isOneOf(tok::colon, tok::less)) {
 2269   assert(FormatTok->Tok.is(tok::less) && "'<' expected.");
 2312   if (FormatTok->Tok.is(tok::less)) {
 2327       if (FormatTok->Tok.is(tok::less))
 2343   if (FormatTok->Tok.is(tok::less))
 2376   if (FormatTok->Tok.is(tok::less))
tools/clang/lib/Lex/Lexer.cpp
 2061       FormTokenWithChars(Result, AfterLessPos, tok::less);
 3724           Kind = tok::less;
 3740       Kind = tok::less;
tools/clang/lib/Lex/PPExpressions.cpp
  509   case tok::less:
  719     case tok::less:
tools/clang/lib/Lex/Preprocessor.cpp
  985   if (FilenameTok.is(tok::less) && AllowMacroExpansion) {
 1002         Diag(Start, diag::note_matching) << tok::less;
tools/clang/lib/Lex/TokenConcatenation.cpp
   80   TokenInfo[tok::less            ] |= aci_custom_firstchar;
  114   TokenInfo[tok::less        ] |= aci_avoid_equal;           // <=
  279   case tok::less:            // <<, <<=, <:, <%
tools/clang/lib/Parse/ParseCXXInlineMethods.cpp
  837     if (Tok.is(tok::less))
 1093     case tok::less:
 1132         if (Tok.is(tok::less)) {
 1151       case tok::less:
tools/clang/lib/Parse/ParseDecl.cpp
 1892     case tok::less:
 2744   bool IsTemplateName = getLangOpts().CPlusPlus && NextToken().is(tok::less);
 3059         !DS.hasTypeSpecifier() && GetLookAheadToken(1).is(tok::less))
 3411       if (Tok.is(tok::less) && getLangOpts().ObjC) {
 3966     case tok::less:
 4914   case tok::less:
 5102   case tok::less:
 5529         (NextToken().is(tok::coloncolon) || NextToken().is(tok::less))) ||
tools/clang/lib/Parse/ParseDeclCXX.cpp
 1168   if (Tok.is(tok::less)) {
 1603     if (Tok.is(tok::less) && getLangOpts().CPlusPlus) {
 2116       NextToken().is(tok::less))
tools/clang/lib/Parse/ParseExpr.cpp
  843     if (!Res.isInvalid() && Tok.is(tok::less))
  958           Next.isOneOf(tok::coloncolon, tok::less, tok::l_paren,
 1082     if (!Res.isInvalid() && Tok.is(tok::less))
 1850       if (!LHS.isInvalid() && Tok.is(tok::less))
tools/clang/lib/Parse/ParseExprCXX.cpp
   68   DigraphToken.setKind(tok::less);
  311       if (Tok.isNot(tok::less)) {
  478     if (Next.is(tok::less)) {
  615   if (!E.isInvalid() && !E.isUnset() && Tok.is(tok::less))
 1257   const bool HasExplicitTemplateParams = Tok.is(tok::less);
 1511   if (ExpectAndConsume(tok::less, diag::err_expected_less_after, CastName))
 1525     return ExprError(Diag(LAngleBracketLoc, diag::note_matching) << tok::less);
 1736   if (Tok.is(tok::less) &&
 2252   assert(Tok.is(tok::less) && "Expected '<' to finish parsing a template-id");
 2732     if (Tok.is(tok::less))
 2810         Tok.is(tok::less))
 2888     if (Tok.is(tok::less)) {
 3166     if (Next.isOneOf(tok::l_brace, tok::less) ||
 3177       SkipUntil({tok::l_brace, tok::less}, StopBeforeMatch);
tools/clang/lib/Parse/ParseInit.cpp
  296         if (Tok.is(tok::less)) {
tools/clang/lib/Parse/ParseObjc.cpp
  148     if (Tok.is(tok::less))
  242   if (Tok.is(tok::less))
  279     if (Tok.is(tok::less) &&
  321     if (Tok.is(tok::less)) {
  344   } else if (protocols.empty() && Tok.is(tok::less) &&
  351   if (Tok.isNot(tok::less))
  424   assert(Tok.is(tok::less) && "Not at the beginning of a type parameter list");
 1156           NextToken().is(tok::less) ||
 1523   assert(Tok.is(tok::less) && "expected <");
 1561   assert(Tok.is(tok::less) && "Protocol qualifiers start with '<'");
 1599   assert(Tok.is(tok::less) && "Not at the start of type args or protocols");
 1777   assert(Tok.is(tok::less));
 1796   if ((consumeLastToken && Tok.is(tok::less)) ||
 1797       (!consumeLastToken && NextToken().is(tok::less))) {
 1825   assert(Tok.is(tok::less));
 2071   if (Tok.is(tok::less) &&
 2121   if (Tok.is(tok::less)) {
 2162     if (Tok.is(tok::less)) { // we have illegal '<' try to recover
 2192     else if (Tok.is(tok::less)) { // we have illegal '<' try to recover
 3072       if (Tok.is(tok::less)) {
tools/clang/lib/Parse/ParseStmt.cpp
  122     WantTypeSpecifiers = nextTok.isOneOf(tok::l_paren, tok::less, tok::l_square,
tools/clang/lib/Parse/ParseTemplate.cpp
   31   if (Tok.is(tok::kw_template) && NextToken().isNot(tok::less)) {
  425   if (!TryConsumeToken(tok::less, LAngleLoc)) {
 1040   assert(Tok.is(tok::less) && "Must have already parsed the template-name");
 1111   assert(Template && Tok.is(tok::less) &&
 1588   assert(Tok.is(tok::less) && "not at a potential angle bracket");
tools/clang/lib/Parse/ParseTentative.cpp
  225     if (getLangOpts().ObjC && Tok.is(tok::less))
 1327     if (Next.isNot(tok::coloncolon) && Next.isNot(tok::less)) {
 1631     if (getLangOpts().ObjC && NextToken().is(tok::less)) {
 1804   assert(Tok.is(tok::less) && "Expected '<' for qualifier list");
 2081     if (Tok.isNot(tok::less))
 2094   if (!TryConsumeToken(tok::less))
tools/clang/lib/Parse/Parser.cpp
 1646     if (getLangOpts().ObjC && NextToken().is(tok::less) &&
 1703     if (Next.isNot(tok::less)) {
 1895       if (getLangOpts().ObjC && NextToken().is(tok::less) &&
 1934     if (NextToken().is(tok::less)) {
tools/clang/lib/Sema/SemaCodeComplete.cpp
  444   case tok::less:
tools/clang/lib/Sema/SemaDecl.cpp
  771                        NextToken.is(tok::less);
  924     if (getLangOpts().CPlusPlus2a && !SS.isSet() && NextToken.is(tok::less)) {
  954         if (getLangOpts().CPlusPlus && NextToken.is(tok::less) &&
 1036     if (getLangOpts().CPlusPlus && NextToken.is(tok::less) &&
 1061   if (getLangOpts().CPlusPlus && NextToken.is(tok::less) &&
tools/clang/lib/Sema/SemaExpr.cpp
12595   case tok::less:                 Opc = BO_LT; break;
tools/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
  132     if (Tok.is(tok::less)) {
tools/clang/tools/extra/clang-tidy/bugprone/MacroParenthesesCheck.cpp
   93                       tok::star, tok::amp, tok::ampamp, tok::less,
  230     if (PP->getLangOpts().CPlusPlus && Prev.isOneOf(tok::comma, tok::less) &&
tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusNameParser.cpp
  180   if (!HasMoreTokens() || Peek().getKind() != tok::less)
  207     case tok::less:
  543     case tok::less: // Template brackets.
tools/lldb/source/Plugins/Language/ClangCommon/ClangHighlighter.cpp
  107     case tok::less: