Home
last modified time | relevance | path

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

1234

/freebsd-12.1/contrib/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp224 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSize()
394 if (L.isNot(AsmToken::Comma)) in maybeParseSectionType()
397 if (L.isNot(AsmToken::At) && L.isNot(AsmToken::Percent) && in maybeParseSectionType()
398 L.isNot(AsmToken::String)) { in maybeParseSectionType()
415 if (getLexer().isNot(AsmToken::Comma)) in parseMergeSize()
427 if (L.isNot(AsmToken::Comma)) in parseGroup()
449 if (L.isNot(AsmToken::Comma)) in parseMetadataSym()
463 if (L.isNot(AsmToken::Comma)) in maybeParseUniqueID()
471 if (L.isNot(AsmToken::Comma)) in maybeParseUniqueID()
759 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymver()
[all …]
H A DCOFFAsmParser.cpp308 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
329 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch()
376 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveSection()
401 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSection()
409 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSection()
441 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveScl()
659 if (getLexer().isNot(AsmToken::Comma)) in ParseSEHDirectiveHandler()
704 if (getLexer().isNot(AsmToken::Comma)) in ParseSEHDirectiveSetFrame()
737 if (getLexer().isNot(AsmToken::Comma)) in ParseSEHDirectiveSaveReg()
760 if (getLexer().isNot(AsmToken::Comma)) in ParseSEHDirectiveSaveXMM()
[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()
839 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveTBSS()
891 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveZerofill()
912 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveZerofill()
924 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveZerofill()
1025 if (getLexer().isNot(AsmToken::Comma)) in parseMajorMinorVersionComponent()
1069 if (getLexer().isNot(AsmToken::Comma)) in parseVersion()
[all …]
H A DWasmAsmParser.cpp87 while (Lexer->isNot(AsmToken::EndOfStatement)) Parser->Lex(); in parseSectionDirective()
98 if (Lexer->isNot(AsmToken::Comma)) in parseDirectiveSize()
104 if (Lexer->isNot(AsmToken::EndOfStatement)) in parseDirectiveSize()
H A DAsmParser.cpp882 while (Lexer.isNot(AsmToken::Eof)) { in Run()
977 while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof)) in eatToEndOfStatement()
988 while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof)) in parseStringToEndOfStatement()
999 Lexer.isNot(AsmToken::Comma) && Lexer.isNot(AsmToken::Eof)) in parseStringToComma()
1014 if (Lexer.isNot(AsmToken::RParen)) in parseParenExpr()
1252 if (Lexer.isNot(AsmToken::LParen)) in parsePrimaryExpr()
1257 if (Lexer.isNot(AsmToken::RParen)) in parsePrimaryExpr()
2246 if (Lexer.isNot(AsmToken::LCurly) && Lexer.isNot(AsmToken::RCurly)) in parseCurlyBlockScope()
2840 if (Lexer.isNot(AsmToken::Identifier) && Lexer.isNot(AsmToken::String)) in parseIdentifier()
3069 if (Lexer.isNot(AsmToken::Integer) && Lexer.isNot(AsmToken::Real) && in parseRealValue()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseOpenMP.cpp546 if (Tok.isNot(tok::identifier)) in parseDeclareSimdClauses()
1225 while (Tok.isNot(tok::r_paren) && Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPSimpleVarList()
1242 } else if (Tok.isNot(tok::comma) && Tok.isNot(tok::r_paren) && in ParseOpenMPSimpleVarList()
1536 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSimpleClause()
1625 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
1637 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
1651 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
1663 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
1673 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
1685 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause()
[all …]
H A DParsePragma.cpp840 if (Tok.isNot(tok::eof)) { in HandlePragmaMSSection()
922 if (Tok.isNot(tok::eof)) { in HandlePragmaMSSegment()
1555 if (Tok.isNot(tok::eof)) { in HandlePragmaAttribute()
1615 if (Tok.isNot(tok::eod)) { in HandlePragma()
1723 if (Tok.isNot(tok::eod)) { in HandlePragma()
1770 if (Tok.isNot(tok::eod)) { in HandlePragma()
1883 if (Tok.isNot(tok::eod)) { in ParseAlignPragma()
1964 if (Tok.isNot(tok::eod)) { in HandlePragma()
2209 while (Tok.isNot(tok::eod) && Tok.isNot(tok::eof)) { in HandlePragma()
3046 if (Tok.isNot(tok::eod)) in HandlePragma()
[all …]
H A DParseTentative.cpp167 if (Tok.isNot(tok::l_paren)) in TryConsumeDeclarationSpecifier()
198 if (Tok.isNot(tok::l_paren)) in TryConsumeDeclarationSpecifier()
249 if (Tok.isNot(tok::l_paren)) { in TryParseSimpleDeclaration()
262 if (Tok.isNot(tok::semi) && (!AllowForRangeDecl || Tok.isNot(tok::colon))) in TryParseSimpleDeclaration()
395 if (P.Tok.isNot(tok::r_paren)) in markNotExpression()
397 if (P.Tok.isNot(tok::semi)) in markNotExpression()
648 if (Tok.isNot(tok::l_square) || NextToken().isNot(tok::l_square)) in isCXX11AttributeSpecifier()
979 if (Tok.isNot(tok::r_paren)) in TryParseDeclarator()
1292 if (Next.isNot(tok::coloncolon) && Next.isNot(tok::less)) { in isCXXDeclarationSpecifier()
1779 if (Tok.isNot(tok::r_paren)) in isCXXFunctionDeclarator()
[all …]
H A DParseInit.cpp169 if (Tok.isNot(tok::identifier)) { in ParseInitializerWithPotentialDesignator()
215 NextToken().isNot(tok::period) && in ParseInitializerWithPotentialDesignator()
315 if (getLangOpts().ObjC && Tok.isNot(tok::ellipsis) && in ParseInitializerWithPotentialDesignator()
316 Tok.isNot(tok::r_square)) { in ParseInitializerWithPotentialDesignator()
323 if (Tok.isNot(tok::ellipsis)) { in ParseInitializerWithPotentialDesignator()
418 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer()
454 if (Tok.isNot(tok::comma)) { in ParseBraceInitializer()
461 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer()
H A DParseCXXInlineMethods.cpp367 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration()
448 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration()
523 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef()
538 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef()
557 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef()
637 if (Tok.isNot(tok::eof)) { in ParseLexedMemberInitializer()
647 while (Tok.isNot(tok::eof)) in ParseLexedMemberInitializer()
754 if (Tok.isNot(tok::colon)) { in ConsumeAndStoreFunctionPrologue()
763 if (Tok.isNot(tok::l_brace)) in ConsumeAndStoreFunctionPrologue()
855 } else if (Tok.isNot(tok::l_paren) && Tok.isNot(tok::l_brace)) { in ConsumeAndStoreFunctionPrologue()
[all …]
H A DParseStmt.cpp458 if (Tok.isNot(tok::l_brace)) in ParseSEHTryBlock()
529 if (Tok.isNot(tok::l_brace)) in ParseSEHExceptBlock()
550 if (Tok.isNot(tok::l_brace)) in ParseSEHFinallyBlock()
761 if (Tok.isNot(tok::r_brace)) { in ParseCaseStatement()
814 if (Tok.isNot(tok::r_brace)) { in ParseDefaultStatement()
1017 Tok.isNot(tok::eof)) { in ParseCompoundStatementBody()
1123 if (Tok.isNot(tok::r_paren)) in ParseParenExprOrCondition()
1782 if (Tok.isNot(tok::semi)) { in ParseForStatement()
1955 if (Tok.isNot(tok::semi)) { in ParseReturnStatement()
2147 if (Tok.isNot(tok::l_brace)) in ParseCXXTryBlockCommon()
[all …]
H A DParseObjc.cpp352 if (Tok.isNot(tok::less)) in ParseObjCAtInterfaceDeclaration()
543 if (Tok.isNot(tok::colon) && Tok.isNot(tok::l_paren)) { in parseObjCTypeParamListOrProtocolRefs()
644 if (Tok.isNot(tok::at)) { in ParseObjCInterfaceDeclList()
954 if (Tok.isNot(tok::comma)) in ParseObjCPropertyAttribute()
1365 if (Tok.isNot(tok::colon)) { in ParseObjCMethodDecl()
2327 if (Tok.isNot(tok::comma)) in ParseObjCPropertySynthesize()
2391 if (Tok.isNot(tok::comma)) in ParseObjCPropertyDynamic()
2405 if (Tok.isNot(tok::semi)) { in ParseObjCThrowStmt()
3363 if (Tok.isNot(tok::l_paren)) in ParseObjCBoxedExpr()
3568 Tok.isNot(tok::colon) && Tok.isNot(tok::coloncolon)) in ParseObjCSelectorExpression()
[all …]
H A DParseExpr.cpp850 assert(Tok.isNot(tok::kw_decltype) && Tok.isNot(tok::kw___super)); in ParseCastExpression()
1296 if (Tok.isNot(tok::l_paren) && in ParseCastExpression()
1879 if (Tok.isNot(tok::l_paren)) { in ParseExprAfterUnaryExprOrTypeTrait()
2080 if (Tok.isNot(tok::l_paren)) in ParseBuiltinPrimaryExpression()
2101 if (Tok.isNot(tok::r_paren)) { in ParseBuiltinPrimaryExpression()
2218 if (Tok.isNot(tok::r_paren)) { in ParseBuiltinPrimaryExpression()
2245 if (Tok.isNot(tok::r_paren)) { in ParseBuiltinPrimaryExpression()
2274 if (Tok.isNot(tok::r_paren)) { in ParseBuiltinPrimaryExpression()
2792 if (Tok.isNot(tok::r_paren)) { in ParseFoldExpression()
2870 if (Tok.isNot(tok::comma)) in ParseExpressionList()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp412 if (Token.isNot(TokenKind)) in expectAndConsume()
419 if (Token.isNot(TokenKind)) in consumeIfPresent()
751 Token.isNot(MIToken::coloncolon) && Token.isNot(MIToken::lbrace)) { in parse()
841 if (Token.isNot(MIToken::Eof)) in parseStandaloneMBB()
854 if (Token.isNot(MIToken::Eof)) in parseStandaloneNamedRegister()
866 if (Token.isNot(MIToken::Eof)) in parseStandaloneVirtualRegister()
882 if (Token.isNot(MIToken::Eof)) in parseStandaloneRegister()
1067 if (Token.isNot(MIToken::Identifier) && Token.isNot(MIToken::underscore)) in parseRegisterClassOrBank()
1995 if (Token.isNot(MIToken::IRBlock) && Token.isNot(MIToken::NamedIRBlock)) in parseBlockAddressOperand()
2304 if (Token.isNot(MIToken::plus) && Token.isNot(MIToken::minus)) in parseOffset()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DPragma.cpp229 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()
1367 if (Tok.isNot(tok::eod)) in HandlePragma()
1485 if (Tok.isNot(tok::eod)) in HandlePragma()
1522 if (Tok.isNot(tok::eod)) in HandlePragma()
1578 if (Tok.isNot(tok::eod)) in HandlePragma()
1613 if (Tok.isNot(tok::eod)) in HandlePragma()
1670 if (Tok.isNot(tok::eod)) in HandlePragma()
[all …]
H A DMacroArgs.cpp113 for (; ArgPtr->isNot(tok::eof); ++ArgPtr) in getArgLength()
147 return getUnexpArgument(VariadicArgIndex)->isNot(tok::eof); in invokedWithVariadicArgument()
156 for (; ArgTok->isNot(tok::eof); ++ArgTok) in ArgNeedsPreexpansion()
195 } while (Result.back().isNot(tok::eof)); in getPreExpArgument()
229 for (; ArgToks->isNot(tok::eof); ++ArgToks) { in StringifyArgument()
325 if (StringifiedArgs[ArgNo].isNot(tok::string_literal)) in getStringifiedArgument()
H A DPPDirectives.cpp87 } while (Tmp.isNot(tok::eod)); in DiscardUntilEndOfDirective()
324 if (MacroNameTok.isNot(tok::eod)) { in ReadMacroName()
349 if (Tmp.isNot(tok::eod)) { in CheckEndOfDirective()
426 if (Tok.isNot(tok::raw_identifier)) { in SkipExcludedConditionalBlock()
1032 if (DigitTok.isNot(tok::eod)) in GetLineValue()
1339 if (StrTok.isNot(tok::eod)) in HandleIdentSCCSDirective()
1481 while (CurTok.isNot(tok::eod)) { in ConcatenateIncludeName()
2207 if (Tok.isNot(tok::r_paren)) { in ReadMacroParameterList()
2258 if (Tok.isNot(tok::r_paren)) { in ReadMacroParameterList()
2402 while (Tok.isNot(tok::eod)) { in ReadOptionalMacroParameterListAndBody()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransforms.cpp157 if (tok.isNot(tok::semi)) { in findSemiAfterLocation()
404 if (tok.isNot(tok::at)) return false; in rewritePropertyAttribute()
406 if (tok.isNot(tok::raw_identifier)) return false; in rewritePropertyAttribute()
410 if (tok.isNot(tok::l_paren)) return false; in rewritePropertyAttribute()
422 if (tok.isNot(tok::raw_identifier)) return false; in rewritePropertyAttribute()
436 } while (tok.isNot(tok::comma) && tok.isNot(tok::r_paren)); in rewritePropertyAttribute()
444 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) { in rewritePropertyAttribute()
485 if (tok.isNot(tok::at)) return false; in addPropertyAttribute()
487 if (tok.isNot(tok::raw_identifier)) return false; in addPropertyAttribute()
492 if (tok.isNot(tok::l_paren)) { in addPropertyAttribute()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DUnwrappedLineParser.cpp855 return Tok.isNot(tok::semi) && Tok.isNot(tok::l_brace) && in tokenCanStartNewLine()
859 Tok.isNot(tok::period) && Tok.isNot(tok::periodstar) && in tokenCanStartNewLine()
860 Tok.isNot(tok::arrow) && Tok.isNot(tok::arrowstar) && in tokenCanStartNewLine()
861 Tok.isNot(tok::less) && Tok.isNot(tok::greater) && in tokenCanStartNewLine()
862 Tok.isNot(tok::slash) && Tok.isNot(tok::percent) && in tokenCanStartNewLine()
863 Tok.isNot(tok::lessless) && Tok.isNot(tok::greatergreater) && in tokenCanStartNewLine()
864 Tok.isNot(tok::equal) && Tok.isNot(tok::plusequal) && in tokenCanStartNewLine()
865 Tok.isNot(tok::minusequal) && Tok.isNot(tok::starequal) && in tokenCanStartNewLine()
866 Tok.isNot(tok::slashequal) && Tok.isNot(tok::percentequal) && in tokenCanStartNewLine()
867 Tok.isNot(tok::ampequal) && Tok.isNot(tok::pipeequal) && in tokenCanStartNewLine()
[all …]
H A DSortJavaScriptImports.cpp384 if (Current->isNot(tok::star)) in parseStarBinding()
387 if (Current->isNot(Keywords.kw_as)) in parseStarBinding()
390 if (Current->isNot(tok::identifier)) in parseStarBinding()
403 if (Current->isNot(tok::comma)) in parseNamedBindings()
407 if (Current->isNot(tok::l_brace)) in parseNamedBindings()
411 while (Current->isNot(tok::r_brace)) { in parseNamedBindings()
H A DContinuationIndenter.cpp130 ((Previous.isNot(TT_CtorInitializerComma) || in startsNextParameter()
133 (Previous.isNot(TT_InheritanceComma) || in startsNextParameter()
139 if (LessTok.isNot(tok::less)) in opensProtoMessageField()
297 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
354 Previous.isNot(tok::question)) || in mustBreak()
472 Current.isNot(TT_LeadingJavaAnnotation)) in mustBreak()
869 (PreviousNonComment->isNot(TT_TemplateCloser) || in addTokenOnNewLine()
1045 PreviousNonComment->isNot(tok::r_brace)) in getNewLineColumn()
1136 if (Current.isNot(tok::comment) && Previous && in moveStateToNextToken()
1222 (!Previous || Previous->isNot(tok::kw_return) || in moveStatePastFakeLParens()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp326 } while (!DirectiveToken.is(tok::eod) && DirectiveToken.isNot(tok::eof)); in CommentOutDirective()
357 if (Tok.isNot(tok::l_paren)) in HandleHasInclude()
388 } while (Tok.isNot(tok::greater)); in HandleHasInclude()
393 if (Tok.isNot(tok::string_literal)) in HandleHasInclude()
404 if (Tok.isNot(tok::r_paren)) in HandleHasInclude()
458 while (RawToken.isNot(tok::eof)) { in Process()
562 } while (RawToken.isNot(tok::eod)); in Process()
582 } while (RawToken.isNot(tok::eod) && RawToken.isNot(tok::eof)); in Process()
629 } while (Tok.isNot(tok::eof)); in RewriteIncludesInInput()
H A DRewriteMacros.cpp85 } while (RawTok.isNot(tok::eof)); in LexRawTokensFromMainFile()
114 while (RawTok.isNot(tok::eof) || PPTok.isNot(tok::eof)) { in RewriteMacrosInInput()
147 while (!RawTok.isAtStartOfLine() && RawTok.isNot(tok::eof)) in RewriteMacrosInInput()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp2581 if (getLexer().isNot(AsmToken::Integer) && getLexer().isNot(AsmToken::Identifier)) { in ParseAsAbsoluteExpression()
2596 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveMajorMinor()
2950 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveHSACodeObjectISA()
2957 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveHSACodeObjectISA()
2961 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveHSACodeObjectISA()
2967 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveHSACodeObjectISA()
3407 if (getLexer().isNot(AsmToken::Colon)) in parseOperandArrayWithPrefix()
3411 if (getLexer().isNot(AsmToken::LBrac)) in parseOperandArrayWithPrefix()
3832 if (getLexer().isNot(AsmToken::Comma)) in parseHwregConstruct()
3841 if (getLexer().isNot(AsmToken::Comma)) in parseHwregConstruct()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp5854 if (Tok.isNot(AsmToken::LParen)) { in parseMemOperand()
6117 if (Token.isNot(AsmToken::Dollar)) { in parseAnyRegister()
6194 if (Parser.getTok().isNot(AsmToken::Dollar)) in parseRegisterList()
6426 if (getLexer().isNot(AsmToken::Equal)) { in parseSetAtDirective()
6432 if (getLexer().isNot(AsmToken::Dollar)) { in parseSetAtDirective()
6615 if (Tok.isNot(AsmToken::Equal)) { in parseSetFpDirective()
6813 if (getLexer().isNot(AsmToken::Comma)) in parseSetAssignment()
6859 if (getLexer().isNot(AsmToken::Equal)) in parseSetArchDirective()
6998 if (getLexer().isNot(AsmToken::Comma)) { in eatComma()
7431 if (Tok.isNot(AsmToken::Identifier)) { in parseDirectiveOption()
[all …]

1234