Home
last modified time | relevance | path

Searched refs:isNot (Results 1 – 25 of 92) sorted by relevance

1234

/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp229 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSize()
402 if (L.isNot(AsmToken::Comma)) in maybeParseSectionType()
405 if (L.isNot(AsmToken::At) && L.isNot(AsmToken::Percent) && in maybeParseSectionType()
406 L.isNot(AsmToken::String)) { in maybeParseSectionType()
423 if (getLexer().isNot(AsmToken::Comma)) in parseMergeSize()
435 if (L.isNot(AsmToken::Comma)) in parseGroup()
460 if (L.isNot(AsmToken::Comma)) in parseLinkedToSym()
481 if (L.isNot(AsmToken::Comma)) in maybeParseUniqueID()
489 if (L.isNot(AsmToken::Comma)) in maybeParseUniqueID()
803 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymver()
[all …]
H A DDarwinAsmParser.cpp531 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 DCOFFAsmParser.cpp296 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
321 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch()
368 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveSection()
393 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSection()
401 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSection()
433 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveScl()
446 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveType()
473 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSecRel32()
525 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSafeSEH()
657 if (getLexer().isNot(AsmToken::Comma)) in ParseSEHDirectiveHandler()
[all …]
H A DMCAsmParserExtension.cpp31 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveCGProfile()
40 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveCGProfile()
49 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveCGProfile()
H A DWasmAsmParser.cpp117 if (Lexer->isNot(AsmToken::Comma)) in parseGroup()
145 if (Lexer->isNot(AsmToken::String)) in parseSectionDirective()
255 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveIdent()
259 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveIdent()
278 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
287 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
H A DAsmParser.cpp981 while (Lexer.isNot(AsmToken::Eof)) { in Run()
1075 while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof)) in eatToEndOfStatement()
1086 while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof)) in parseStringToEndOfStatement()
1097 Lexer.isNot(AsmToken::Comma) && Lexer.isNot(AsmToken::Eof)) in parseStringToComma()
1112 if (Lexer.isNot(AsmToken::RParen)) in parseParenExpr()
1365 if (Lexer.isNot(AsmToken::LParen)) in parsePrimaryExpr()
2385 if (Lexer.isNot(AsmToken::LCurly) && Lexer.isNot(AsmToken::RCurly)) in parseCurlyBlockScope()
2966 if (Buf[0].isNot(AsmToken::Identifier) && Buf[0].isNot(AsmToken::Integer)) in parseIdentifier()
2982 if (Lexer.isNot(AsmToken::Identifier) && Lexer.isNot(AsmToken::String)) in parseIdentifier()
3236 if (Lexer.isNot(AsmToken::Integer) && Lexer.isNot(AsmToken::Real) && in parseRealValue()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp631 if (Token.isNot(TokenKind)) in expectAndConsume()
638 if (Token.isNot(TokenKind)) in consumeIfPresent()
1009 Token.isNot(MIToken::coloncolon) && Token.isNot(MIToken::lbrace)) { in parse()
1122 if (Token.isNot(MIToken::Eof)) in parseStandaloneMBB()
1135 if (Token.isNot(MIToken::Eof)) in parseStandaloneNamedRegister()
1147 if (Token.isNot(MIToken::Eof)) in parseStandaloneVirtualRegister()
1163 if (Token.isNot(MIToken::Eof)) in parseStandaloneRegister()
1475 if (Token.isNot(MIToken::Identifier) && Token.isNot(MIToken::underscore)) in parseRegisterClassOrBank()
2536 if (Token.isNot(MIToken::IRBlock) && Token.isNot(MIToken::NamedIRBlock)) in parseBlockAddressOperand()
2885 if (Token.isNot(MIToken::plus) && Token.isNot(MIToken::minus)) in parseOffset()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp930 if (Tok.isNot(tok::eof)) { in HandlePragmaMSSection()
1012 if (Tok.isNot(tok::eof)) { in HandlePragmaMSSegment()
1710 if (Tok.isNot(tok::eof)) { in HandlePragmaAttribute()
1770 if (Tok.isNot(tok::eod)) { in HandlePragma()
1882 if (Tok.isNot(tok::eod)) { in HandlePragma()
1930 if (Tok.isNot(tok::eod)) { in HandlePragma()
2063 if (Tok.isNot(tok::eod)) { in ParseAlignPragma()
2145 if (Tok.isNot(tok::eod)) { in HandlePragma()
2391 while (Tok.isNot(tok::eod) && Tok.isNot(tok::eof)) { in HandlePragma()
3437 if (Tok.isNot(tok::eod)) in HandlePragma()
[all …]
H A DParseTentative.cpp166 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()
666 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()
1841 if (Tok.isNot(tok::r_paren)) in isCXXFunctionDeclarator()
2028 if (Tok.isNot(tok::l_paren)) in TryParseFunctionDeclarator()
2065 if (Tok.isNot(tok::r_square)) in TryParseBracketDeclarator()
2078 if (Tok.isNot(tok::less)) in isTemplateArgumentList()
[all …]
H A DParseOpenMP.cpp539 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in ParseOpenMPDeclareMapperDirective()
1656 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in parseOpenMPSimpleClause()
2738 if (Tok.isNot(tok::comma) && Tok.isNot(tok::r_paren)) in ParseOpenMPUsesAllocatorClause()
3319 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
3332 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
3347 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
3360 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
3376 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
3390 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
3534 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in parseMapperModifier()
[all …]
H A DParseInit.cpp208 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()
472 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer()
508 if (Tok.isNot(tok::comma)) { in ParseBraceInitializer()
515 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer()
H A DParseCXXInlineMethods.cpp401 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration()
489 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration()
549 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef()
564 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef()
583 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef()
643 if (Tok.isNot(tok::eof)) { in ParseLexedMemberInitializer()
653 while (Tok.isNot(tok::eof)) in ParseLexedMemberInitializer()
758 while (Tok.isNot(tok::eof)) in ParseLexedAttribute()
892 if (Tok.isNot(tok::colon)) { in ConsumeAndStoreFunctionPrologue()
901 if (Tok.isNot(tok::l_brace)) in ConsumeAndStoreFunctionPrologue()
[all …]
H A DParseStmt.cpp501 if (Tok.isNot(tok::l_brace)) in ParseSEHTryBlock()
572 if (Tok.isNot(tok::l_brace)) in ParseSEHExceptBlock()
593 if (Tok.isNot(tok::l_brace)) in ParseSEHFinallyBlock()
805 if (Tok.isNot(tok::r_brace)) { in ParseCaseStatement()
862 if (Tok.isNot(tok::r_brace)) { in ParseDefaultStatement()
1096 Tok.isNot(tok::eof)) { in ParseCompoundStatementBody()
1428 if (Tok.isNot(tok::kw_else)) in ParseIfStatement()
2013 if (Tok.isNot(tok::semi)) { in ParseForStatement()
2191 if (Tok.isNot(tok::semi)) { in ParseReturnStatement()
2394 if (Tok.isNot(tok::l_brace)) in ParseCXXTryBlockCommon()
[all …]
H A DParseObjc.cpp352 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()
972 if (Tok.isNot(tok::comma)) in ParseObjCPropertyAttribute()
1383 if (Tok.isNot(tok::colon)) { in ParseObjCMethodDecl()
2352 if (Tok.isNot(tok::comma)) in ParseObjCPropertySynthesize()
2416 if (Tok.isNot(tok::comma)) in ParseObjCPropertyDynamic()
2430 if (Tok.isNot(tok::semi)) { in ParseObjCThrowStmt()
3390 if (Tok.isNot(tok::l_paren)) in ParseObjCBoxedExpr()
3595 Tok.isNot(tok::colon) && Tok.isNot(tok::coloncolon)) in ParseObjCSelectorExpression()
[all …]
H A DParseExpr.cpp1036 assert(Tok.isNot(tok::kw_decltype) && Tok.isNot(tok::kw___super)); in ParseCastExpression()
1558 if (Tok.isNot(tok::l_paren) && in ParseCastExpression()
2261 if (Tok.isNot(tok::l_paren)) { in ParseExprAfterUnaryExprOrTypeTrait()
2498 if (Tok.isNot(tok::l_paren)) in ParseBuiltinPrimaryExpression()
2519 if (Tok.isNot(tok::r_paren)) { in ParseBuiltinPrimaryExpression()
2636 if (Tok.isNot(tok::r_paren)) { in ParseBuiltinPrimaryExpression()
2744 if (Tok.isNot(tok::l_square)) in tryParseOpenMPArrayShapingCastPart()
2752 if (Tok.isNot(tok::r_square)) in tryParseOpenMPArrayShapingCastPart()
3306 if (Tok.isNot(tok::r_paren)) { in ParseFoldExpression()
3389 if (Tok.isNot(tok::comma)) in ParseExpressionList()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DPragma.cpp228 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::eof)) in Handle_Pragma()
847 if (Tok.isNot(tok::eod)) { in HandlePragmaModuleBuild()
927 if (Tok.isNot(tok::eod)) in HandlePragmaHdrstop()
1021 if (Tok.isNot(tok::eod)) in LexOnOffSwitch()
1495 if (Tok.isNot(tok::eod)) in HandlePragma()
1559 if (Tok.isNot(tok::eod)) in HandlePragma()
1677 if (Tok.isNot(tok::eod)) in HandlePragma()
1714 if (Tok.isNot(tok::eod)) in HandlePragma()
1769 if (Tok.isNot(tok::eod)) in HandlePragma()
1804 if (Tok.isNot(tok::eod)) in HandlePragma()
[all …]
H A DMacroArgs.cpp110 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()
H A DPPDirectives.cpp88 while (Tmp.isNot(tok::eod)) { in DiscardUntilEndOfDirective()
358 if (MacroNameTok.isNot(tok::eod)) { in ReadMacroName()
505 if (Tok.isNot(tok::raw_identifier)) { in SkipExcludedConditionalBlock()
1188 if (DigitTok.isNot(tok::eod)) in GetLineValue()
1505 if (StrTok.isNot(tok::eod)) in HandleIdentSCCSDirective()
1779 if (FilenameTok.isNot(tok::eod)) in HandleIncludeDirective()
2467 } while (TmpTok.isNot(tok::hashhash)); in HandleIncludeMacrosDirective()
2504 if (Tok.isNot(tok::r_paren)) { in ReadMacroParameterList()
2554 if (Tok.isNot(tok::r_paren)) { in ReadMacroParameterList()
2701 while (Tok.isNot(tok::eod)) { in ReadOptionalMacroParameterListAndBody()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp157 if (tok.isNot(tok::semi)) { in findSemiAfterLocation()
405 if (tok.isNot(tok::at)) return false; in rewritePropertyAttribute()
407 if (tok.isNot(tok::raw_identifier)) return false; in rewritePropertyAttribute()
411 if (tok.isNot(tok::l_paren)) return false; in rewritePropertyAttribute()
423 if (tok.isNot(tok::raw_identifier)) return false; in rewritePropertyAttribute()
437 } while (tok.isNot(tok::comma) && tok.isNot(tok::r_paren)); in rewritePropertyAttribute()
445 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) { in rewritePropertyAttribute()
486 if (tok.isNot(tok::at)) return false; in addPropertyAttribute()
488 if (tok.isNot(tok::raw_identifier)) return false; in addPropertyAttribute()
493 if (tok.isNot(tok::l_paren)) { in addPropertyAttribute()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineParser.cpp931 return Tok.isNot(tok::semi) && Tok.isNot(tok::l_brace) && in tokenCanStartNewLine()
935 Tok.isNot(tok::period) && Tok.isNot(tok::periodstar) && in tokenCanStartNewLine()
936 Tok.isNot(tok::arrow) && Tok.isNot(tok::arrowstar) && in tokenCanStartNewLine()
937 Tok.isNot(tok::less) && Tok.isNot(tok::greater) && in tokenCanStartNewLine()
938 Tok.isNot(tok::slash) && Tok.isNot(tok::percent) && in tokenCanStartNewLine()
939 Tok.isNot(tok::lessless) && Tok.isNot(tok::greatergreater) && in tokenCanStartNewLine()
940 Tok.isNot(tok::equal) && Tok.isNot(tok::plusequal) && in tokenCanStartNewLine()
941 Tok.isNot(tok::minusequal) && Tok.isNot(tok::starequal) && in tokenCanStartNewLine()
942 Tok.isNot(tok::slashequal) && Tok.isNot(tok::percentequal) && in tokenCanStartNewLine()
943 Tok.isNot(tok::ampequal) && Tok.isNot(tok::pipeequal) && in tokenCanStartNewLine()
[all …]
H A DContinuationIndenter.cpp129 ((Previous.isNot(TT_CtorInitializerComma) || in startsNextParameter()
132 (Previous.isNot(TT_InheritanceComma) || in startsNextParameter()
138 if (LessTok.isNot(tok::less)) in opensProtoMessageField()
353 Previous.isNot(TT_CSharpGenericTypeConstraintComma)) in mustBreak()
364 Previous.isNot(tok::question)) || in mustBreak()
490 Current.isNot(TT_LeadingJavaAnnotation)) in mustBreak()
917 (PreviousNonComment->isNot(TT_TemplateCloser) || in addTokenOnNewLine()
969 Current.isNot(TT_CSharpGenericTypeConstraint)) in getNewLineColumn()
1165 if (Previous->isNot(tok::l_paren)) in hasNestedBlockInlined()
1269 if (Current.isNot(tok::comment) && Previous && in moveStateToNextToken()
[all …]
H A DTokenAnnotator.cpp173 Previous->isNot(tok::colon))) in parseAngle()
511 if (AttrTok->isNot(tok::identifier)) in isCpp11AttributeSpecifier()
562 Left->isNot(TT_LambdaLSquare) && in parseSquare()
1149 Tok->Next->isNot(tok::l_paren)) { in consumeToken()
3126 Right.MatchingParen->isNot(BK_Block))) in spaceRequiredBetween()
3169 (Left.isNot(tok::colon) || Left.isNot(TT_ObjCMethodExpr)); in spaceRequiredBetween()
3174 Right.isNot(BK_Block)) in spaceRequiredBetween()
3569 Right.isNot(TT_FunctionTypeLParen)) in spaceRequiredBefore()
3736 return Left.isNot(BK_BracedInit) && Left.isNot(TT_CtorInitializerColon) && in mustBreakBefore()
3819 Right.isNot(TT_LeadingJavaAnnotation) && Right.isNot(tok::l_paren) && in mustBreakBefore()
[all …]
H A DSortJavaScriptImports.cpp481 if (Current->isNot(tok::star)) in parseStarBinding()
484 if (Current->isNot(Keywords.kw_as)) in parseStarBinding()
487 if (Current->isNot(tok::identifier)) in parseStarBinding()
502 if (Current->isNot(tok::comma)) in parseNamedBindings()
506 if (Current->isNot(tok::l_brace)) in parseNamedBindings()
511 while (Current->isNot(tok::r_brace)) { in parseNamedBindings()
H A DMacroExpander.cpp82 if (Current->isNot(tok::comma)) in parseParams()
86 if (Current->isNot(tok::r_paren)) in parseParams()
102 while (Current->isNot(tok::eof)) { in parseTail()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteMacros.cpp84 } 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()

1234