| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | ELFAsmParser.cpp | 227 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSize() 404 if (L.isNot(AsmToken::Comma)) in maybeParseSectionType() 407 if (L.isNot(AsmToken::At) && L.isNot(AsmToken::Percent) && in maybeParseSectionType() 408 L.isNot(AsmToken::String)) { in maybeParseSectionType() 425 if (getLexer().isNot(AsmToken::Comma)) in parseMergeSize() 437 if (L.isNot(AsmToken::Comma)) in parseGroup() 462 if (L.isNot(AsmToken::Comma)) in parseLinkedToSym() 483 if (L.isNot(AsmToken::Comma)) in maybeParseUniqueID() 491 if (L.isNot(AsmToken::Comma)) in maybeParseUniqueID() 822 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymver() [all …]
|
| H A D | COFFAsmParser.cpp | 293 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute() 318 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch() 365 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveSection() 390 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSection() 398 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSection() 430 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveScl() 443 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveType() 470 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSecRel32() 522 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSafeSEH() 654 if (getLexer().isNot(AsmToken::Comma)) in ParseSEHDirectiveHandler() [all …]
|
| H A D | DarwinAsmParser.cpp | 531 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveDesc() 589 if (getLexer().isNot(AsmToken::String)) in parseDirectiveDumpOrLoad() 624 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveLinkerOption() 643 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveLsym() 837 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveTBSS() 889 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveZerofill() 910 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveZerofill() 922 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveZerofill() 1023 if (getLexer().isNot(AsmToken::Comma)) in parseMajorMinorVersionComponent() 1067 if (getLexer().isNot(AsmToken::Comma)) in parseVersion() [all …]
|
| H A D | MCAsmParserExtension.cpp | 33 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveCGProfile() 42 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveCGProfile() 51 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveCGProfile()
|
| H A D | WasmAsmParser.cpp | 124 if (Lexer->isNot(AsmToken::Comma)) in parseGroup() 152 if (Lexer->isNot(AsmToken::String)) in parseSectionDirective() 262 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveIdent() 266 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveIdent() 285 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute() 294 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
|
| H A D | AsmParser.cpp | 997 while (Lexer.isNot(AsmToken::Eof)) { in Run() 1094 while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof)) in eatToEndOfStatement() 1105 while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof)) in parseStringToEndOfStatement() 1116 Lexer.isNot(AsmToken::Comma) && Lexer.isNot(AsmToken::Eof)) in parseStringToComma() 1379 if (Lexer.isNot(AsmToken::LParen)) in parsePrimaryExpr() 2399 if (Lexer.isNot(AsmToken::LCurly) && Lexer.isNot(AsmToken::RCurly)) in parseCurlyBlockScope() 2995 if (Buf[0].isNot(AsmToken::Identifier) && Buf[0].isNot(AsmToken::Integer)) in parseIdentifier() 3011 if (Lexer.isNot(AsmToken::Identifier) && Lexer.isNot(AsmToken::String)) in parseIdentifier() 3266 if (Lexer.isNot(AsmToken::Integer) && Lexer.isNot(AsmToken::Real) && in parseRealValue() 5248 if (Lexer.isNot(AsmToken::Comma)) { in parseDirectiveIfeqs() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 628 if (Token.isNot(TokenKind)) in expectAndConsume() 635 if (Token.isNot(TokenKind)) in consumeIfPresent() 1012 Token.isNot(MIToken::coloncolon) && Token.isNot(MIToken::lbrace)) { in parse() 1133 if (Token.isNot(MIToken::Eof)) in parseStandaloneMBB() 1146 if (Token.isNot(MIToken::Eof)) in parseStandaloneNamedRegister() 1158 if (Token.isNot(MIToken::Eof)) in parseStandaloneVirtualRegister() 1174 if (Token.isNot(MIToken::Eof)) in parseStandaloneRegister() 1486 if (Token.isNot(MIToken::Identifier) && Token.isNot(MIToken::underscore)) in parseRegisterClassOrBank() 2556 if (Token.isNot(MIToken::IRBlock) && Token.isNot(MIToken::NamedIRBlock)) in parseBlockAddressOperand() 2905 if (Token.isNot(MIToken::plus) && Token.isNot(MIToken::minus)) in parseOffset() [all …]
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParsePragma.cpp | 301 if (Tok.isNot(tok::eod)) { in HandlePragma() 1023 if (Tok.isNot(tok::eof)) { in HandlePragmaMSSection() 1105 if (Tok.isNot(tok::eof)) { in HandlePragmaMSSegment() 1880 if (Tok.isNot(tok::eof)) { in HandlePragmaAttribute() 1942 if (Tok.isNot(tok::eod)) { in HandlePragma() 2054 if (Tok.isNot(tok::eod)) { in HandlePragma() 2102 if (Tok.isNot(tok::eod)) { in HandlePragma() 2235 if (Tok.isNot(tok::eod)) { in ParseAlignPragma() 2563 while (Tok.isNot(tok::eod) && Tok.isNot(tok::eof)) { in HandlePragma() 3622 if (Tok.isNot(tok::eod)) in HandlePragma() [all …]
|
| H A D | ParseTentative.cpp | 166 if (Tok.isNot(tok::l_paren)) in TryConsumeDeclarationSpecifier() 233 if (Tok.isNot(tok::l_paren)) { in TryParseSimpleDeclaration() 246 if (Tok.isNot(tok::semi) && (!AllowForRangeDecl || Tok.isNot(tok::colon))) in TryParseSimpleDeclaration() 381 if (P.Tok.isNot(tok::semi)) in markNotExpression() 668 if (Tok.isNot(tok::l_square) || NextToken().isNot(tok::l_square)) in isCXX11AttributeSpecifier() 1274 if (Next.isNot(tok::coloncolon) && Next.isNot(tok::less)) { in isCXXDeclarationSpecifier() 1845 if (Tok.isNot(tok::r_paren)) in isCXXFunctionDeclarator() 2032 if (Tok.isNot(tok::l_paren)) in TryParseFunctionDeclarator() 2069 if (Tok.isNot(tok::r_square)) in TryParseBracketDeclarator() 2082 if (Tok.isNot(tok::less)) in isTemplateArgumentList() [all …]
|
| H A D | ParseOpenMP.cpp | 550 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in ParseOpenMPDeclareMapperDirective() 1816 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in parseOpenMPSimpleClause() 3113 if (Tok.isNot(tok::comma) && Tok.isNot(tok::r_paren)) in ParseOpenMPUsesAllocatorClause() 3731 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause() 3743 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause() 3757 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause() 3769 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause() 3784 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause() 3797 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause() 3940 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in parseMapperModifier() [all …]
|
| H A D | ParseInit.cpp | 208 if (Tok.isNot(tok::identifier)) { in ParseInitializerWithPotentialDesignator() 254 NextToken().isNot(tok::period) && in ParseInitializerWithPotentialDesignator() 354 if (getLangOpts().ObjC && Tok.isNot(tok::ellipsis) && in ParseInitializerWithPotentialDesignator() 355 Tok.isNot(tok::r_square)) { in ParseInitializerWithPotentialDesignator() 362 if (Tok.isNot(tok::ellipsis)) { in ParseInitializerWithPotentialDesignator() 482 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer() 518 if (Tok.isNot(tok::comma)) { in ParseBraceInitializer() 525 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer()
|
| H A D | ParseCXXInlineMethods.cpp | 415 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration() 504 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration() 564 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef() 579 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef() 598 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef() 658 if (Tok.isNot(tok::eof)) { in ParseLexedMemberInitializer() 668 while (Tok.isNot(tok::eof)) in ParseLexedMemberInitializer() 772 while (Tok.isNot(tok::eof)) in ParseLexedAttribute() 906 if (Tok.isNot(tok::colon)) { in ConsumeAndStoreFunctionPrologue() 915 if (Tok.isNot(tok::l_brace)) in ConsumeAndStoreFunctionPrologue() [all …]
|
| H A D | ParseObjc.cpp | 352 if (Tok.isNot(tok::less)) in ParseObjCAtInterfaceDeclaration() 542 if (Tok.isNot(tok::colon) && Tok.isNot(tok::l_paren)) { in parseObjCTypeParamListOrProtocolRefs() 646 if (Tok.isNot(tok::at)) { in ParseObjCInterfaceDeclList() 974 if (Tok.isNot(tok::comma)) in ParseObjCPropertyAttribute() 1389 if (Tok.isNot(tok::colon)) { in ParseObjCMethodDecl() 2359 if (Tok.isNot(tok::comma)) in ParseObjCPropertySynthesize() 2423 if (Tok.isNot(tok::comma)) in ParseObjCPropertyDynamic() 2437 if (Tok.isNot(tok::semi)) { in ParseObjCThrowStmt() 3399 if (Tok.isNot(tok::l_paren)) in ParseObjCBoxedExpr() 3604 Tok.isNot(tok::colon) && Tok.isNot(tok::coloncolon)) in ParseObjCSelectorExpression() [all …]
|
| H A D | ParseStmt.cpp | 549 if (Tok.isNot(tok::l_brace)) in ParseSEHTryBlock() 620 if (Tok.isNot(tok::l_brace)) in ParseSEHExceptBlock() 641 if (Tok.isNot(tok::l_brace)) in ParseSEHFinallyBlock() 854 if (Tok.isNot(tok::r_brace)) { in ParseCaseStatement() 911 if (Tok.isNot(tok::r_brace)) { in ParseDefaultStatement() 1146 Tok.isNot(tok::eof)) { in ParseCompoundStatementBody() 1525 if (Tok.isNot(tok::kw_else)) in ParseIfStatement() 2161 if (Tok.isNot(tok::semi)) { in ParseForStatement() 2342 if (Tok.isNot(tok::semi)) { in ParseReturnStatement() 2546 if (Tok.isNot(tok::l_brace)) in ParseCXXTryBlockCommon() [all …]
|
| H A D | ParseExpr.cpp | 1037 assert(Tok.isNot(tok::kw_decltype) && Tok.isNot(tok::kw___super)); in ParseCastExpression() 1565 if (Tok.isNot(tok::l_paren) && in ParseCastExpression() 2293 if (Tok.isNot(tok::l_paren)) { in ParseExprAfterUnaryExprOrTypeTrait() 2532 if (Tok.isNot(tok::l_paren)) in ParseBuiltinPrimaryExpression() 2553 if (Tok.isNot(tok::r_paren)) { in ParseBuiltinPrimaryExpression() 2670 if (Tok.isNot(tok::r_paren)) { in ParseBuiltinPrimaryExpression() 2781 if (Tok.isNot(tok::l_square)) in tryParseOpenMPArrayShapingCastPart() 2789 if (Tok.isNot(tok::r_square)) in tryParseOpenMPArrayShapingCastPart() 3345 if (Tok.isNot(tok::r_paren)) { in ParseFoldExpression() 3435 if (Tok.isNot(tok::comma)) in ParseExpressionList() [all …]
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | Pragma.cpp | 226 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::eof)) in Handle_Pragma() 804 if (Tok.isNot(tok::eod)) { in HandlePragmaModuleBuild() 884 if (Tok.isNot(tok::eod)) in HandlePragmaHdrstop() 978 if (Tok.isNot(tok::eod)) in LexOnOffSwitch() 1465 if (Tok.isNot(tok::eod)) in HandlePragma() 1529 if (Tok.isNot(tok::eod)) in HandlePragma() 1647 if (Tok.isNot(tok::eod)) in HandlePragma() 1684 if (Tok.isNot(tok::eod)) in HandlePragma() 1739 if (Tok.isNot(tok::eod)) in HandlePragma() 1774 if (Tok.isNot(tok::eod)) in HandlePragma() [all …]
|
| H A D | MacroArgs.cpp | 110 for (; ArgPtr->isNot(tok::eof); ++ArgPtr) in getArgLength() 141 return getPreExpArgument(VariadicArgIndex, PP).front().isNot(tok::eof); in invokedWithVariadicArgument() 150 for (; ArgTok->isNot(tok::eof); ++ArgTok) in ArgNeedsPreexpansion() 189 } while (Result.back().isNot(tok::eof)); in getPreExpArgument() 223 for (; ArgToks->isNot(tok::eof); ++ArgToks) { in StringifyArgument()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | Transforms.cpp | 155 if (tok.isNot(tok::semi)) { in findSemiAfterLocation() 403 if (tok.isNot(tok::at)) return false; in rewritePropertyAttribute() 405 if (tok.isNot(tok::raw_identifier)) return false; in rewritePropertyAttribute() 409 if (tok.isNot(tok::l_paren)) return false; in rewritePropertyAttribute() 421 if (tok.isNot(tok::raw_identifier)) return false; in rewritePropertyAttribute() 435 } while (tok.isNot(tok::comma) && tok.isNot(tok::r_paren)); in rewritePropertyAttribute() 443 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) { in rewritePropertyAttribute() 484 if (tok.isNot(tok::at)) return false; in addPropertyAttribute() 486 if (tok.isNot(tok::raw_identifier)) return false; in addPropertyAttribute() 491 if (tok.isNot(tok::l_paren)) { in addPropertyAttribute() [all …]
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | UnwrappedLineParser.cpp | 1260 return Tok.isNot(tok::semi) && Tok.isNot(tok::l_brace) && in tokenCanStartNewLine() 1264 Tok.isNot(tok::period) && Tok.isNot(tok::periodstar) && in tokenCanStartNewLine() 1265 Tok.isNot(tok::arrow) && Tok.isNot(tok::arrowstar) && in tokenCanStartNewLine() 1266 Tok.isNot(tok::less) && Tok.isNot(tok::greater) && in tokenCanStartNewLine() 1267 Tok.isNot(tok::slash) && Tok.isNot(tok::percent) && in tokenCanStartNewLine() 1268 Tok.isNot(tok::lessless) && Tok.isNot(tok::greatergreater) && in tokenCanStartNewLine() 1269 Tok.isNot(tok::equal) && Tok.isNot(tok::plusequal) && in tokenCanStartNewLine() 1270 Tok.isNot(tok::minusequal) && Tok.isNot(tok::starequal) && in tokenCanStartNewLine() 1271 Tok.isNot(tok::slashequal) && Tok.isNot(tok::percentequal) && in tokenCanStartNewLine() 1272 Tok.isNot(tok::ampequal) && Tok.isNot(tok::pipeequal) && in tokenCanStartNewLine() [all …]
|
| H A D | ContinuationIndenter.cpp | 132 ((Previous.isNot(TT_CtorInitializerComma) || in startsNextParameter() 135 (Previous.isNot(TT_InheritanceComma) || in startsNextParameter() 141 if (LessTok.isNot(tok::less)) in opensProtoMessageField() 375 Previous.isNot(tok::question)) || in mustBreak() 538 Current.isNot(TT_LeadingJavaAnnotation)) { in mustBreak() 728 Previous.isNot(TT_ObjCMethodExpr) && Previous.isNot(TT_RequiresClause) && in addTokenOnCurrentLine() 1009 ((PreviousNonComment->isNot(TT_TemplateCloser) && in addTokenOnNewLine() 1072 Current.isNot(TT_CSharpGenericTypeConstraint)) { in getNewLineColumn() 1299 if (Previous->isNot(tok::l_paren)) in hasNestedBlockInlined() 1509 (!Previous || Previous->isNot(tok::kw_return) || in moveStatePastFakeLParens() [all …]
|
| H A D | TokenAnnotator.cpp | 188 Previous->isNot(tok::colon))) { in parseAngle() 547 if (AttrTok->isNot(tok::identifier)) in isCpp11AttributeSpecifier() 599 Left->isNot(TT_LambdaLSquare) && in parseSquare() 1224 Tok->Next->isNot(tok::l_paren)) { in consumeToken() 1619 if (Tok->isNot(TT_TemplateOpener)) { in modifyContext() 2085 if (Tok->isNot(tok::r_square)) in rParenEndsCast() 3629 (Left.isNot(tok::colon) || Left.isNot(TT_ObjCMethodExpr)); in spaceRequiredBetween() 3635 Right.isNot(BK_Block)) { in spaceRequiredBetween() 4332 return Left.isNot(BK_BracedInit) && Left.isNot(TT_CtorInitializerColon) && in mustBreakBefore() 4475 Right.isNot(TT_LeadingJavaAnnotation) && Right.isNot(tok::l_paren) && in mustBreakBefore() [all …]
|
| H A D | NamespaceEndCommentsFixer.cpp | 33 if (!Tok || Tok->isNot(StartTok)) in processTokens() 108 while (Tok && Tok->isNot(tok::l_brace)) { in computeName() 116 if (FirstNSTok->isNot(tok::coloncolon)) { in computeName() 135 if (!NameFinished && FirstNSTok && FirstNSTok->isNot(tok::l_brace)) in computeName() 187 } else if (NamespaceTok->isNot(tok::kw_namespace) || in validEndComment() 357 EndCommentNextTok->isNot(tok::eof); in analyze()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteMacros.cpp | 84 } while (RawTok.isNot(tok::eof)); in LexRawTokensFromMainFile() 113 while (RawTok.isNot(tok::eof) || PPTok.isNot(tok::eof)) { in RewriteMacrosInInput() 146 while (!RawTok.isAtStartOfLine() && RawTok.isNot(tok::eof)) in RewriteMacrosInInput()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | LocationParser.cpp | 42 if (getToken().isNot(Token::bare_identifier) || in parseCallSiteLocation() 103 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation() 117 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
|
| H A D | Token.h | 50 bool isNot(Kind k) const { return kind != k; } in isNot() function 54 bool isNot(Kind k1, Kind k2, T... others) const { in isNot() function
|