Home
last modified time | relevance | path

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

12345

/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp228 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSize()
418 if (L.isNot(AsmToken::Comma)) in maybeParseSectionType()
421 if (L.isNot(AsmToken::At) && L.isNot(AsmToken::Percent) && in maybeParseSectionType()
422 L.isNot(AsmToken::String)) { in maybeParseSectionType()
439 if (getLexer().isNot(AsmToken::Comma)) in parseMergeSize()
451 if (L.isNot(AsmToken::Comma)) in parseGroup()
476 if (L.isNot(AsmToken::Comma)) in parseLinkedToSym()
497 if (L.isNot(AsmToken::Comma)) in maybeParseUniqueID()
505 if (L.isNot(AsmToken::Comma)) in maybeParseUniqueID()
838 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymver()
[all …]
H A DCOFFAsmParser.cpp309 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
334 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch()
386 if (getLexer().isNot(AsmToken::String)) in parseSectionArguments()
411 if (getLexer().isNot(AsmToken::Comma)) in parseSectionArguments()
419 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseSectionArguments()
468 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveScl()
481 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveType()
508 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSecRel32()
560 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSafeSEH()
692 if (getLexer().isNot(AsmToken::Comma)) in ParseSEHDirectiveHandler()
[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()
836 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveTBSS()
888 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveZerofill()
909 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveZerofill()
921 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveZerofill()
1022 if (getLexer().isNot(AsmToken::Comma)) in parseMajorMinorVersionComponent()
1066 if (getLexer().isNot(AsmToken::Comma)) in parseVersion()
[all …]
H A DMCAsmParserExtension.cpp33 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 DWasmAsmParser.cpp126 if (Lexer->isNot(AsmToken::Comma)) in parseGroup()
154 if (Lexer->isNot(AsmToken::String)) in parseSectionDirective()
269 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveIdent()
273 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveIdent()
292 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
301 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp634 if (Token.isNot(TokenKind)) in expectAndConsume()
641 if (Token.isNot(TokenKind)) in consumeIfPresent()
1076 Token.isNot(MIToken::coloncolon) && Token.isNot(MIToken::lbrace)) { in parse()
1210 if (Token.isNot(MIToken::Eof)) in parseStandaloneMBB()
1223 if (Token.isNot(MIToken::Eof)) in parseStandaloneNamedRegister()
1235 if (Token.isNot(MIToken::Eof)) in parseStandaloneVirtualRegister()
1567 if (Token.isNot(MIToken::Identifier) && Token.isNot(MIToken::underscore)) in parseRegisterClassOrBank()
2658 if (Token.isNot(MIToken::IRBlock) && Token.isNot(MIToken::NamedIRBlock)) in parseBlockAddressOperand()
3040 if (Token.isNot(MIToken::plus) && Token.isNot(MIToken::minus)) in parseOffset()
3059 if (Token.isNot(MIToken::IRBlock) && Token.isNot(MIToken::NamedIRBlock)) in parseIRBlockAddressTaken()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPragma.cpp227 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::eof)) in Handle_Pragma()
816 if (Tok.isNot(tok::eod)) { in HandlePragmaModuleBuild()
896 if (Tok.isNot(tok::eod)) in HandlePragmaHdrstop()
990 if (Tok.isNot(tok::eod)) in LexOnOffSwitch()
1520 if (Tok.isNot(tok::eod)) in HandlePragma()
1584 if (Tok.isNot(tok::eod)) in HandlePragma()
1702 if (Tok.isNot(tok::eod)) in HandlePragma()
1739 if (Tok.isNot(tok::eod)) in HandlePragma()
1794 if (Tok.isNot(tok::eod)) in HandlePragma()
1829 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()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp349 if (Tok.isNot(tok::eod)) { in HandlePragma()
1129 if (Tok.isNot(tok::eof)) { in HandlePragmaMSSection()
1211 if (Tok.isNot(tok::eof)) { in HandlePragmaMSSegment()
2035 if (Tok.isNot(tok::eof)) { in HandlePragmaAttribute()
2097 if (Tok.isNot(tok::eod)) { in HandlePragma()
2209 if (Tok.isNot(tok::eod)) { in HandlePragma()
2257 if (Tok.isNot(tok::eod)) { in HandlePragma()
2390 if (Tok.isNot(tok::eod)) { in ParseAlignPragma()
2718 while (Tok.isNot(tok::eod) && Tok.isNot(tok::eof)) { in HandlePragma()
3784 if (Tok.isNot(tok::eod)) in HandlePragma()
[all …]
H A DParseOpenMP.cpp1801 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in parseOpenMPSimpleClause()
3144 if (Tok.isNot(tok::comma) && Tok.isNot(tok::r_paren)) in ParseOpenMPUsesAllocatorClause()
3887 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
3913 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
3925 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
3940 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
3953 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
3972 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
3985 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
4217 if (Tok.isNot(tok::comma) && Tok.isNot(tok::colon) && in parseMapTypeModifiers()
[all …]
H A DParseTentative.cpp216 if (Tok.isNot(tok::l_paren)) in TryConsumeDeclarationSpecifier()
284 if (Tok.isNot(tok::l_paren)) { in TryParseSimpleDeclaration()
298 if (Tok.isNot(tok::semi) && (!AllowForRangeDecl || Tok.isNot(tok::colon))) in TryParseSimpleDeclaration()
438 if (P.Tok.isNot(tok::semi)) in markNotExpression()
746 if (Tok.isNot(tok::l_square) || NextToken().isNot(tok::l_square)) in isCXX11AttributeSpecifier()
1376 if (Next.isNot(tok::coloncolon) && Next.isNot(tok::less)) { in isCXXDeclarationSpecifier()
1994 if (Tok.isNot(tok::r_paren)) in isCXXFunctionDeclarator()
2187 if (Tok.isNot(tok::l_paren)) in TryParseFunctionDeclarator()
2267 if (Tok.isNot(tok::r_square)) in TryParseBracketDeclarator()
2280 if (Tok.isNot(tok::less)) in isTemplateArgumentList()
[all …]
H A DParseInit.cpp210 if (Tok.isNot(tok::identifier)) { in ParseInitializerWithPotentialDesignator()
256 NextToken().isNot(tok::period) && in ParseInitializerWithPotentialDesignator()
356 if (getLangOpts().ObjC && Tok.isNot(tok::ellipsis) && in ParseInitializerWithPotentialDesignator()
357 Tok.isNot(tok::r_square)) { in ParseInitializerWithPotentialDesignator()
364 if (Tok.isNot(tok::ellipsis)) { in ParseInitializerWithPotentialDesignator()
487 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer()
523 if (Tok.isNot(tok::comma)) { in ParseBraceInitializer()
530 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer()
H A DParseCXXInlineMethods.cpp418 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration()
507 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration()
567 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef()
582 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef()
601 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef()
666 if (Tok.isNot(tok::eof)) { in ParseLexedMemberInitializer()
676 while (Tok.isNot(tok::eof)) in ParseLexedMemberInitializer()
780 while (Tok.isNot(tok::eof)) in ParseLexedAttribute()
915 if (Tok.isNot(tok::colon)) { in ConsumeAndStoreFunctionPrologue()
924 if (Tok.isNot(tok::l_brace)) in ConsumeAndStoreFunctionPrologue()
[all …]
H A DParseObjc.cpp374 if (Tok.isNot(tok::less)) in ParseObjCAtInterfaceDeclaration()
577 if (Tok.isNot(tok::colon) && Tok.isNot(tok::l_paren)) { in parseObjCTypeParamListOrProtocolRefs()
694 if (Tok.isNot(tok::at)) { in ParseObjCInterfaceDeclList()
1019 if (Tok.isNot(tok::comma)) in ParseObjCPropertyAttribute()
1434 if (Tok.isNot(tok::colon)) { in ParseObjCMethodDecl()
2418 if (Tok.isNot(tok::comma)) in ParseObjCPropertySynthesize()
2482 if (Tok.isNot(tok::comma)) in ParseObjCPropertyDynamic()
2496 if (Tok.isNot(tok::semi)) { in ParseObjCThrowStmt()
3458 if (Tok.isNot(tok::l_paren)) in ParseObjCBoxedExpr()
3662 Tok.isNot(tok::colon) && Tok.isNot(tok::coloncolon)) in ParseObjCSelectorExpression()
[all …]
H A DParseStmt.cpp592 if (Tok.isNot(tok::l_brace)) in ParseSEHTryBlock()
663 if (Tok.isNot(tok::l_brace)) in ParseSEHExceptBlock()
684 if (Tok.isNot(tok::l_brace)) in ParseSEHFinallyBlock()
1225 Tok.isNot(tok::eof)) { in ParseCompoundStatementBody()
1356 if (Tok.isNot(tok::r_paren)) in ParseParenExprOrCondition()
1599 if (Tok.isNot(tok::kw_else)) in ParseIfStatement()
1712 if (Tok.isNot(tok::l_paren)) { in ParseSwitchStatement()
2249 if (Tok.isNot(tok::semi)) { in ParseForStatement()
2428 if (Tok.isNot(tok::semi)) { in ParseReturnStatement()
2634 if (Tok.isNot(tok::l_brace)) in ParseCXXTryBlockCommon()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenLexer.cpp294 if (At->isNot(tok::at) || String->isNot(tok::string_literal)) in tryMergeNSStringLiteral()
312 if (Hash->isNot(tok::hash) || Identifier->isNot(tok::identifier)) in tryMergeJSPrivateIdentifier()
377 Equal->isNot(tok::equal)) { in tryMergeNullishCoalescingEqual()
394 if (At->isNot(tok::at)) in tryMergeCSharpKeywordVariables()
431 if (For->isNot(tok::kw_for)) in tryMergeForEach()
452 if (Try->isNot(tok::kw_try)) in tryTransformTryUsageForC()
474 if (First[0]->isNot(tok::less) || First[1]->isNot(tok::less)) in tryMergeLessLess()
502 if (First[0]->isNot(tok::greater) || First[1]->isNot(tok::greater)) in tryMergeGreaterGreater()
528 if (First[i]->isNot(Kinds[i])) in tryMergeTokens()
611 if (FT->isNot(tok::comment)) { in tryParseJSRegexLiteral()
[all …]
H A DTokenAnnotator.cpp100 if (AttrTok->isNot(tok::identifier)) in isCppAttribute()
1979 if (Current.isNot(TT_Unknown)) { in determineTokenType()
3215 if (Tok->isNot(tok::identifier) || Tok->isNot(TT_Unknown)) in getFunctionName()
3490 while (Tok->isNot(tok::r_brace)) in calculateFormattingInformation()
4342 (Left.isNot(tok::colon) || Left.isNot(TT_ObjCMethodExpr)); in spaceRequiredBetween()
4353 Right.isNot(BK_Block)) { in spaceRequiredBetween()
4710 if (Right.isNot(tok::semi) && in spaceRequiredBefore()
4853 if (Right.isNot(tok::l_paren)) { in spaceRequiredBefore()
4938 Right.isNot(tok::r_paren))) { in spaceRequiredBefore()
5155 return Left.isNot(BK_BracedInit) && Left.isNot(TT_CtorInitializerColon) && in mustBreakBefore()
[all …]
H A DContinuationIndenter.cpp151 if (LessTok.isNot(tok::less)) in opensProtoMessageField()
343 Current.isNot(TT_LambdaLBrace)) && in canBreak()
408 Previous.isNot(tok::question)) || in mustBreak()
819 Previous.isNot(TT_ObjCMethodExpr) && Previous.isNot(TT_RequiresClause) && in addTokenOnCurrentLine()
821 (Current.isNot(TT_LineComment) || in addTokenOnCurrentLine()
854 if (Current.isNot(tok::comment) && P && in addTokenOnCurrentLine()
1145 Current.isNot(TT_LambdaLBrace))) { in addTokenOnNewLine()
1356 Current.isNot(tok::l_paren)) || in getNewLineColumn()
1463 if (Previous->isNot(tok::l_paren)) in hasNestedBlockInlined()
2233 if (!Tok || Tok->isNot(tok::l_paren)) in getEnclosingFunctionName()
[all …]
H A DMacroExpander.cpp58 if (Current->isNot(tok::identifier)) in parse()
81 if (Current->isNot(tok::comma)) in parseParams()
85 if (Current->isNot(tok::r_paren)) in parseParams()
101 while (Current->isNot(tok::eof)) { in parseTail()
194 if (Tok->isNot(tok::identifier) || ExpandedArgs.contains(Tok->TokenText)) in expand()
H A DObjCPropertyAttributeOrderFixer.cpp81 if (Tok->Next->isNot(tok::identifier)) { in sortPropertyAttributes()
165 if (!PropertyTok || PropertyTok->isNot(Keywords.kw_property)) in analyzeObjCPropertyDecl()
170 if (!LParenTok || LParenTok->isNot(tok::l_paren)) in analyzeObjCPropertyDecl()
206 if (Tok->isNot(TT_ObjCProperty)) in analyze()
H A DUnwrappedLineParser.cpp430 if (Next->isNot(tok::colon)) { in parseLevel()
921 if (I->Tok->isNot(tok::period)) in isGoogScope()
939 if (I->Tok->isNot(tok::l_paren)) in isIIFE()
2148 if (Tok->isNot(tok::r_brace)) in tryToParsePropertyAccessor()
2371 if (FormatTok->isNot(tok::l_paren)) in tryToParseJSFunction()
2414 if (FormatTok->isNot(tok::l_brace)) in tryToParseChildBlock()
3831 if (Tok->isNot(tok::l_square)) in tryToParseSimpleAttribute()
3835 while (Tok->isNot(tok::eof)) { in tryToParseSimpleAttribute()
3843 if (Tok->isNot(tok::r_square)) in tryToParseSimpleAttribute()
3861 while (Tok->isNot(tok::eof)) { in parseJavaEnumBody()
[all …]
H A DNamespaceEndCommentsFixer.cpp33 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()
H A DWhitespaceManager.cpp425 CurrentChange.Tok->isNot(tok::r_brace)) { in AlignTokenSequence()
474 if (Changes[Previous].Tok->isNot(tok::star)) { in AlignTokenSequence()
608 Changes[i - 1].Tok->isNot(tok::string_literal)) {
614 if (CurrentChange.Tok->isNot(tok::comment))
748 if (!Current || Current->isNot(tok::identifier)) in alignConsecutiveMacros()
798 if (Changes[I].Tok->isNot(tok::comment)) in alignConsecutiveMacros()
934 if (Changes[I].Tok->isNot(tok::comment)) in alignConsecutiveShortCaseStatements()
991 if (C.Tok->isNot(TT_StartOfName)) in alignConsecutiveDeclarations()
1156 if (Tok->isNot(tok::r_brace)) in alignTrailingComments()
1306 if (Previous && Previous->isNot(TT_LineComment)) { in alignArrayInitializersRightJustified()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp155 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 …]
/freebsd-14.2/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()

12345