Searched refs:kw_struct (Results 1 – 15 of 15) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | MacroParenthesesCheck.cpp | 57 return T.isOneOf(tok::kw_if, tok::kw_case, tok::kw_const, tok::kw_struct); in isKeyword() 72 tok::kw_enum, tok::kw_inline, tok::kw_static, tok::kw_struct, in isVarDeclKeyword()
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | DefinitionBlockSeparator.cpp | 55 if ((CurrentToken->isOneOf(tok::kw_class, tok::kw_struct, in separateBlocks()
|
| H A D | FormatTokenLexer.cpp | 1041 FormatTok->isOneOf(tok::kw_struct, tok::kw_union, tok::kw_delete, 1046 FormatTok->isOneOf(tok::kw_struct, tok::kw_union,
|
| H A D | UnwrappedLineFormatter.cpp | 286 if (Tok && Tok->isOneOf(tok::kw_class, tok::kw_struct, tok::kw_union, in tryFitMultipleLinesInOne() 485 PreviousPrevious->isOneOf(tok::kw_class, tok::kw_struct)) { in tryFitMultipleLinesInOne() 510 tok::kw_struct)); in tryFitMultipleLinesInOne()
|
| H A D | UnwrappedLineParser.cpp | 1024 case tok::kw_struct: in ShouldBreakBeforeBrace() 1354 !Tok->isOneOf(tok::kw_register, tok::kw_struct, tok::kw_union)) { in isC78ParameterDecl() 1754 case tok::kw_struct: in parseStructuralElement() 3353 case tok::kw_struct: in parseConstraintExpression() 3479 if (FormatTok->isOneOf(tok::kw_class, tok::kw_struct)) in parseEnum() 3757 case tok::kw_struct: in parseRecord()
|
| H A D | FormatToken.h | 1627 case tok::kw_struct: in isCSharpKeyword() 1663 case tok::kw_struct: in isVerilogIdentifier()
|
| H A D | TokenAnnotator.cpp | 1632 tok::kw_struct, tok::kw_using)) { in modifyContext() 3101 if (Left.isOneOf(tok::kw_class, tok::kw_struct)) in splitPenalty() 4441 (Line.startsWith(tok::kw_struct) && Style.BraceWrapping.AfterStruct); in mustBreakBefore() 4934 tok::kw_class, tok::kw_struct, tok::comment) || in canBreakBefore()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseTentative.cpp | 175 case tok::kw_struct: in TryConsumeDeclarationSpecifier() 1390 case tok::kw_struct: in isCXXDeclarationSpecifier() 1729 case tok::kw_struct: in isCXXDeclarationSpecifierAType()
|
| H A D | ParseTemplate.cpp | 900 bool Replace = Tok.isOneOf(tok::kw_typename, tok::kw_struct); in ParseTemplateTemplateParameter() 901 const Token &Next = Tok.is(tok::kw_struct) ? NextToken() : Tok; in ParseTemplateTemplateParameter()
|
| H A D | ParseDecl.cpp | 1520 if (Tok.isNot(tok::kw_struct) && Tok.isNot(tok::kw_enum)) { in ParseSwiftNewTypeAttribute() 2729 TagName="struct"; FixitTagName = "struct ";TagKind=tok::kw_struct;break; in ParseImplicitInt() 4132 case tok::kw_struct: in ParseDeclarationSpecifiers() 4595 if (Tok.isOneOf(tok::kw_class, tok::kw_struct) && getLangOpts().CPlusPlus) { in ParseEnumSpecifier() 5141 case tok::kw_struct: in isKnownToBeTypeSpecifier() 5224 case tok::kw_struct: in isTypeSpecifierQualifier() 5394 case tok::kw_struct: in isDeclarationSpecifier()
|
| H A D | ParseObjc.cpp | 1091 case tok::kw_struct: in ParseObjCSelectorPiece()
|
| H A D | ParseDeclCXX.cpp | 1480 if (TagTokKind == tok::kw_struct) in ParseClassSpecifier()
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | FormatGen.h | 72 kw_struct, enumerator
|
| H A D | FormatGen.cpp | 175 .Case("struct", FormatToken::kw_struct) in lexIdentifier()
|
| H A D | AttrOrTypeFormatGen.cpp | 1033 case FormatToken::kw_struct: in parseDirectiveImpl()
|