Home
last modified time | relevance | path

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 DMacroParenthesesCheck.cpp57 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 DDefinitionBlockSeparator.cpp55 if ((CurrentToken->isOneOf(tok::kw_class, tok::kw_struct, in separateBlocks()
H A DFormatTokenLexer.cpp1041 FormatTok->isOneOf(tok::kw_struct, tok::kw_union, tok::kw_delete,
1046 FormatTok->isOneOf(tok::kw_struct, tok::kw_union,
H A DUnwrappedLineFormatter.cpp286 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 DUnwrappedLineParser.cpp1024 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 DFormatToken.h1627 case tok::kw_struct: in isCSharpKeyword()
1663 case tok::kw_struct: in isVerilogIdentifier()
H A DTokenAnnotator.cpp1632 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 DParseTentative.cpp175 case tok::kw_struct: in TryConsumeDeclarationSpecifier()
1390 case tok::kw_struct: in isCXXDeclarationSpecifier()
1729 case tok::kw_struct: in isCXXDeclarationSpecifierAType()
H A DParseTemplate.cpp900 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 DParseDecl.cpp1520 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 DParseObjc.cpp1091 case tok::kw_struct: in ParseObjCSelectorPiece()
H A DParseDeclCXX.cpp1480 if (TagTokKind == tok::kw_struct) in ParseClassSpecifier()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DFormatGen.h72 kw_struct, enumerator
H A DFormatGen.cpp175 .Case("struct", FormatToken::kw_struct) in lexIdentifier()
H A DAttrOrTypeFormatGen.cpp1033 case FormatToken::kw_struct: in parseDirectiveImpl()