| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | CPlusPlusNameParser.cpp | 272 case tok::l_square: in ConsumeTemplateArgs() 278 else if (ConsumeBrackets(tok::l_square, tok::r_square)) in ConsumeTemplateArgs() 304 if (!ConsumeToken(tok::l_square)) in ConsumeAbiTag() 446 if (HasMoreTokens() && Peek().is(tok::l_square)) { in ConsumeOperator() 448 if (!ConsumeBrackets(tok::l_square, tok::r_square)) in ConsumeOperator() 468 case tok::l_square: in ConsumeOperator() 471 if (ConsumeBrackets(tok::l_square, tok::r_square)) in ConsumeOperator() 598 case tok::l_square: { in ParseFullNameImpl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseInit.cpp | 37 case tok::l_square: { // designator: array-designator in MayBeDesignationStart() 199 while (Tok.is(tok::period) || Tok.is(tok::l_square)) { in ParseInitializerWithPotentialDesignator() 222 assert(Tok.is(tok::l_square) && "Unexpected token!"); in ParseInitializerWithPotentialDesignator() 243 BalancedDelimiterTracker T(*this, tok::l_square); in ParseInitializerWithPotentialDesignator()
|
| H A D | ParseTentative.cpp | 746 if (Tok.isNot(tok::l_square) || NextToken().isNot(tok::l_square)) in isCXX11AttributeSpecifier() 884 while (Tok.isOneOf(tok::l_square, tok::kw___attribute, tok::kw___declspec, in TrySkipAttributes() 887 if (Tok.is(tok::l_square)) { in TrySkipAttributes() 889 if (Tok.isNot(tok::l_square)) in TrySkipAttributes() 964 if (Tok.is(tok::l_square) && NextToken().is(tok::r_square)) { in TryParseOperatorId() 977 case tok::l_square: in TryParseOperatorId() 1170 } else if (Tok.is(tok::l_square)) { in TryParseDeclarator() 1999 tok::kw_throw, tok::kw_noexcept, tok::l_square, in isCXXFunctionDeclarator()
|
| H A D | ParseExprCXX.cpp | 88 if (!Next.is(tok::l_square) || Next.getLength() != 2) in CheckForTemplateAndDigraph() 755 && Tok.is(tok::l_square) in TryParseLambdaExpression() 833 BalancedDelimiterTracker T(*this, tok::l_square); in ParseLambdaIntroducer() 1407 (Tok.is(tok::l_square) && NextToken().is(tok::l_square)); in ParseLambdaExpressionAfterIntroducer() 1575 if (Tok.is(tok::l_square) && Tok.getLength() == 2) { in ParseCXXCasts() 2645 if (Tok.is(tok::l_square) && in ParseUnqualifiedIdOperator() 2685 case tok::l_square: { in ParseUnqualifiedIdOperator() 2687 BalancedDelimiterTracker T(*this, tok::l_square); in ParseUnqualifiedIdOperator() 3310 while (Tok.is(tok::l_square)) { in ParseDirectNewDeclarator() 3315 BalancedDelimiterTracker T(*this, tok::l_square); in ParseDirectNewDeclarator() [all …]
|
| H A D | ParseExpr.cpp | 306 (Tok.is(tok::l_square) && !NextToken().is(tok::l_square))) { in ParseConstraintLogicalAndExpression() 1800 case tok::l_square: in ParseCastExpression() 1848 case tok::l_square: in ParseCastExpression() 1949 case tok::l_square: { // postfix-expression: p-e '[' expression ']' in ParsePostfixExpressionSuffix() 1966 BalancedDelimiterTracker T(*this, tok::l_square); in ParsePostfixExpressionSuffix() 2722 } else if (Tok.is(tok::l_square)) { in ParseBuiltinPrimaryExpression() 2729 BalancedDelimiterTracker ST(*this, tok::l_square); in ParseBuiltinPrimaryExpression() 2897 assert(Tok.is(tok::l_square) && "Expected open bracket"); in tryParseOpenMPArrayShapingCastPart() 2901 if (Tok.isNot(tok::l_square)) in tryParseOpenMPArrayShapingCastPart() 3228 ExprType == CastExpr && Tok.is(tok::l_square) && in ParseParenExpression() [all …]
|
| H A D | ParseDecl.cpp | 1738 assert(Tok.is(tok::l_square) && NextToken().is(tok::l_square)); in DiagnoseProhibitedCXX11Attribute() 1769 assert((Tok.is(tok::l_square) && NextToken().is(tok::l_square)) || in DiagnoseMisplacedCXX11Attribute() 2072 case tok::l_square: in MightBeDeclarator() 2117 case tok::l_square: in SkipMalformedDecl() 2971 case tok::l_square: in ParseImplicitInt() 3435 case tok::l_square: in ParseDeclarationSpecifiers() 5943 case tok::l_square: in isConstructorDeclarator() 6683 if (Tok.is(tok::l_square)) in ParseDirectDeclarator() 6789 } else if (Tok.is(tok::l_square)) { in ParseDirectDeclarator() 6824 assert(Tok.is(tok::l_square)); in ParseDecompositionDeclarator() [all …]
|
| H A D | ParseStmtAsm.cpp | 888 if (!isTokenStringLiteral() && Tok.isNot(tok::l_square)) in ParseAsmOperandsOpt() 893 if (Tok.is(tok::l_square)) { in ParseAsmOperandsOpt() 894 BalancedDelimiterTracker T(*this, tok::l_square); in ParseAsmOperandsOpt()
|
| H A D | ParseDeclCXX.cpp | 638 NextToken().is(tok::ellipsis) || NextToken().is(tok::l_square) || in ParseUsingDeclarator() 1427 case tok::l_square: // void f(struct f [ 3]) in isValidAfterTypeSpecifier() 1868 (NextToken().is(tok::l_square) || in ParseClassSpecifier() 1883 if (Tok.is(tok::l_square) && NextToken().is(tok::l_square)) { in ParseClassSpecifier() 4563 assert(Tok.is(tok::l_square) && NextToken().is(tok::l_square) && in ParseCXX11AttributeSpecifierInternal() 4576 checkCompoundToken(OpenLoc, tok::l_square, CompoundToken::AttrBegin); in ParseCXX11AttributeSpecifierInternal() 4720 if (Tok.is(tok::l_square)) { in SkipCXX11Attributes() 4721 BalancedDelimiterTracker T(*this, tok::l_square); in SkipCXX11Attributes() 4837 assert(Tok.is(tok::l_square) && "Not a Microsoft attribute list"); in ParseMicrosoftAttributes() 4843 BalancedDelimiterTracker T(*this, tok::l_square); in ParseMicrosoftAttributes() [all …]
|
| H A D | ParseCXXInlineMethods.cpp | 852 case tok::l_square: in ConsumeAndStoreUntil() 1326 case tok::l_square: in ConsumeAndStoreInitializer()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Format/ |
| H A D | TokenAnnotator.cpp | 88 if (!IsCpp || !Tok.startsSequence(tok::l_square, tok::l_square)) in isCppAttribute() 461 (CurrentToken->Next->is(tok::l_square) && in parseParens() 1237 case tok::l_square: in consumeToken() 2343 if (!Tok || Tok->isNot(tok::l_square)) in rParenEndsCast() 3751 if (Right.is(tok::l_square)) in splitPenalty() 3759 if (Right.is(tok::l_square)) { in splitPenalty() 4057 if (Left.is(tok::l_square) && Right.is(tok::amp)) in spaceRequiredBetween() 4208 if (Left.is(tok::l_square)) { in spaceRequiredBetween() 4225 if (Right.is(tok::l_square) && in spaceRequiredBetween() 4733 if (Right.is(tok::l_square) && in spaceRequiredBefore() [all …]
|
| H A D | UnwrappedLineParser.cpp | 318 case tok::l_square: in parseCSharpAttribute() 457 case tok::l_square: in parseLevel() 2062 case tok::l_square: in parseStructuralElement() 2210 assert(FormatTok->is(tok::l_square)); in tryToParseLambda() 2233 case tok::l_square: in tryToParseLambda() 2449 case tok::l_square: in parseBracedList() 2554 case tok::l_square: in parseParens() 2626 case tok::l_square: in parseSquare() 3303 case tok::l_square: in isCOperatorFollowingVar() 3597 case tok::l_square: in parseConstraintExpression() [all …]
|
| H A D | NamespaceEndCommentsFixer.cpp | 54 } else if (Tok->is(tok::l_square)) { in skipAttribute() 55 Tok = processTokens(Tok, tok::l_square, tok::r_square, nullptr); in skipAttribute()
|
| H A D | FormatTokenLexer.cpp | 145 tok::question, tok::l_square}; in tryMergePreviousTokens() 156 Tokens.back()->Tok.setKind(tok::l_square); in tryMergePreviousTokens() 280 if (Style.isTableGen() && tryMergeTokens({tok::l_square, tok::l_brace}, in tryMergePreviousTokens() 569 tok::r_brace, tok::l_square, tok::semi, tok::exclaim, in precedesOperand()
|
| H A D | DefinitionBlockSeparator.cpp | 39 if (Tok->isOneOf(tok::l_brace, tok::l_paren, tok::l_square)) in separateBlocks()
|
| H A D | FormatToken.h | 684 return isOneOf(tok::l_paren, tok::l_brace, tok::l_square, in opensScope() 813 if (!Style.isCpp() || isNot(tok::l_square)) in isCppStructuredBinding()
|
| H A D | ContinuationIndenter.cpp | 348 if (Previous.is(tok::l_square) && Previous.is(TT_ObjCMethodExpr)) in canBreak() 785 if (!Tok.isOneOf(tok::l_paren, TT_TemplateOpener, tok::l_square) && in addTokenOnCurrentLine() 1972 if (NextNonComment && NextNonComment->isNot(tok::l_square)) in moveStatePastScopeCloser()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | RAIIObjectsForParser.h | 429 case tok::l_square: return P.BracketCount; in getDepth() 455 case tok::l_square:
|
| H A D | Parser.h | 581 return Tok.isOneOf(tok::l_square, tok::r_square); in isTokenBracket() 637 if (Tok.getKind() == tok::l_square) in ConsumeBracket() 1847 return (K == tok::l_square || K == tok::l_paren || in isPostfixExpressionSuffixStart() 2748 assert(Tok.is(tok::l_square)); in CheckProhibitedCXX11Attribute() 2749 if (NextToken().isNot(tok::l_square)) in CheckProhibitedCXX11Attribute() 2758 (Tok.isNot(tok::l_square) || NextToken().isNot(tok::l_square)) && in CheckMisplacedCXX11Attribute() 2974 Tok.is(tok::l_square)) { in MaybeParseMicrosoftAttributes()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | TGLexer.h | 40 l_square, // [ enumerator
|
| H A D | TGLexer.cpp | 528 return tgtok::l_square; in LexBracket()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Language/ClangCommon/ |
| H A D | ClangHighlighter.cpp | 78 case tok::l_square: in determineClangStyle()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | AnalysisBasedWarnings.cpp | 1251 tok::l_square, tok::l_square, in getFallthroughAttrSpelling() 1257 tok::l_square, tok::l_square, PP.getIdentifierInfo("clang"), in getFallthroughAttrSpelling() 2345 tok::l_square, in getUnsafeBufferUsageAttributeTextAt() 2346 tok::l_square, in getUnsafeBufferUsageAttributeTextAt()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | CommentSema.cpp | 675 TokenValue Tokens[] = {tok::l_square, tok::l_square, in checkDeprecatedCommand()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Lex/ |
| H A D | Preprocessor.cpp | 892 case tok::l_paren: case tok::l_square: case tok::l_brace: in Lex() 1091 case tok::l_paren: case tok::l_square: case tok::l_brace: in CollectPpImportSuffix()
|
| H A D | DependencyDirectivesScanner.cpp | 967 return !Tok.isOneOf(tok::l_paren, tok::r_paren, tok::l_square, in printDependencyDirectivesAsSource()
|