Home
last modified time | relevance | path

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

1234

/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp178 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
198 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
211 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseSectionSwitch()
229 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSize()
237 if (getLexer().isNot(AsmToken::EndOfStatement)) 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()
[all …]
H A DDarwinAsmParser.cpp477 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseSectionSwitch()
531 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveDesc()
539 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveDesc()
576 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveIndirectSymbol()
589 if (getLexer().isNot(AsmToken::String)) in parseDirectiveDumpOrLoad()
594 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveDumpOrLoad()
612 if (getLexer().isNot(AsmToken::String)) in parseDirectiveLinkerOption()
624 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveLinkerOption()
643 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveLsym()
651 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveLsym()
[all …]
H A DCOFFAsmParser.cpp282 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
296 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()
[all …]
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 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 DAsmParser.cpp977 while (Lexer.isNot(AsmToken::Eof)) { in Run()
1071 while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof)) in eatToEndOfStatement()
1082 while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof)) in parseStringToEndOfStatement()
1092 while (Lexer.isNot(AsmToken::EndOfStatement) && in parseStringToComma()
1093 Lexer.isNot(AsmToken::Comma) && Lexer.isNot(AsmToken::Eof)) in parseStringToComma()
1108 if (Lexer.isNot(AsmToken::RParen)) in parseParenExpr()
1360 if (Lexer.isNot(AsmToken::LParen)) in parsePrimaryExpr()
1365 if (Lexer.isNot(AsmToken::RParen)) in parsePrimaryExpr()
1494 if (Lexer.isNot(AsmToken::Identifier)) in parseExpression()
2378 if (Lexer.isNot(AsmToken::LCurly) && Lexer.isNot(AsmToken::RCurly)) in parseCurlyBlockScope()
[all …]
H A DMasmParser.cpp1241 while (Lexer.isNot(AsmToken::Eof) || in Run()
1340 while (Lexer.isNot(AsmToken::EndOfStatement)) { in eatToEndOfStatement()
1363 while (Lexer.isNot(EndTok)) { in parseStringRefsTo()
1395 while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof)) in parseStringToEndOfStatement()
1410 if (Lexer.isNot(AsmToken::RParen)) in parseParenExpr()
1714 if (Lexer.isNot(AsmToken::LParen)) in parsePrimaryExpr()
1719 if (Lexer.isNot(AsmToken::RParen)) in parsePrimaryExpr()
2627 if (Lexer.isNot(AsmToken::LCurly) && Lexer.isNot(AsmToken::RCurly)) in parseCurlyBlockScope()
2901 if (Lexer.isNot(EndTok)) { in parseMacroArgument()
2946 if (isOperator(Lexer.getKind()) && Lexer.isNot(EndTok)) { in parseMacroArgument()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParsePragma.cpp740 if (Tok.isNot(tok::l_brace)) { in HandlePragmaCaptured()
853 while (Tok.isNot(tok::eof)) in HandlePragmaMSPragma()
861 if (Tok.isNot(tok::l_paren)) { in HandlePragmaMSSection()
867 if (Tok.isNot(tok::string_literal)) { in HandlePragmaMSSection()
925 if (Tok.isNot(tok::r_paren)) { in HandlePragmaMSSection()
930 if (Tok.isNot(tok::eof)) { in HandlePragmaMSSection()
942 if (Tok.isNot(tok::l_paren)) { in HandlePragmaMSSegment()
971 else if (Tok.isNot(tok::r_paren)) { in HandlePragmaMSSegment()
977 } else if (Tok.isNot(tok::r_paren)) { in HandlePragmaMSSegment()
985 if (Tok.isNot(tok::r_paren)) { in HandlePragmaMSSegment()
[all …]
H A DParseTentative.cpp157 if (NextToken().isNot(tok::l_paren)) { in TryConsumeDeclarationSpecifier()
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()
379 if (P.Tok.isNot(tok::r_paren)) in markNotExpression()
381 if (P.Tok.isNot(tok::semi)) in markNotExpression()
666 if (Tok.isNot(tok::l_square) || NextToken().isNot(tok::l_square)) in isCXX11AttributeSpecifier()
746 while (Tok.isNot(tok::r_square)) { in isCXX11AttributeSpecifier()
808 if (Tok.isNot(tok::l_square)) in TrySkipAttributes()
811 if (!SkipUntil(tok::r_square) || Tok.isNot(tok::r_square)) in TrySkipAttributes()
[all …]
H A DParseOpenMP.cpp334 } while (Tok.isNot(tok::annot_pragma_openmp_end)); in ParseOpenMPDeclareReductionDirective()
370 if (CombinerResult.isInvalid() && Tok.isNot(tok::r_paren) && in ParseOpenMPDeclareReductionDirective()
371 Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective()
378 if (Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective()
395 if (Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective()
415 if (InitializerResult.isInvalid() && Tok.isNot(tok::r_paren) && in ParseOpenMPDeclareReductionDirective()
416 Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective()
539 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in ParseOpenMPDeclareMapperDirective()
593 while (Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareMapperDirective()
710 while (Tok.isNot(tok::annot_pragma_openmp_end)) { in parseDeclareSimdClauses()
[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 DParseStmt.cpp193 if (Next.isNot(tok::coloncolon)) { in ParseStatementOrDeclarationAfterAttributes()
207 if (Tok.isNot(tok::identifier)) in ParseStatementOrDeclarationAfterAttributes()
496 if (Tok.isNot(tok::l_brace)) in ParseSEHTryBlock()
567 if (Tok.isNot(tok::l_brace)) in ParseSEHExceptBlock()
588 if (Tok.isNot(tok::l_brace)) in ParseSEHFinallyBlock()
800 if (Tok.isNot(tok::r_brace)) { in ParseCaseStatement()
857 if (Tok.isNot(tok::r_brace)) { in ParseDefaultStatement()
1063 if (Tok.isNot(tok::identifier)) { in ParseCompoundStatementBody()
1090 while (!tryParseMisplacedModuleImport() && Tok.isNot(tok::r_brace) && in ParseCompoundStatementBody()
1091 Tok.isNot(tok::eof)) { in ParseCompoundStatementBody()
[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()
1160 if (Tok.isNot(tok::identifier)) in ParseObjCTypeQualifierList()
1374 if (!SelIdent && Tok.isNot(tok::colon)) { // missing selector name. in ParseObjCMethodDecl()
1383 if (Tok.isNot(tok::colon)) { in ParseObjCMethodDecl()
1460 if (!SelIdent && Tok.isNot(tok::colon)) in ParseObjCMethodDecl()
1917 while (Tok.isNot(tok::r_brace) && !isEofOrEom()) { in ParseObjCClassInstanceVariables()
2063 if (Tok.isNot(tok::comma)) in ParseObjCAtProtocolDeclaration()
[all …]
H A DParseCXXInlineMethods.cpp386 if (Tok.isNot(tok::eof) || Tok.getEofData() != Param) { in ParseLexedMethodDeclaration()
401 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration()
476 if (Tok.isNot(tok::eof) || Tok.getEofData() != LM.Method) 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()
[all …]
H A DParseExpr.cpp474 } else if (Tok.isNot(tok::colon)) { in ParseRHSOfBinaryExpression()
1036 assert(Tok.isNot(tok::kw_decltype) && Tok.isNot(tok::kw___super)); in ParseCastExpression()
1165 if (Tok.isNot(tok::identifier) && in ParseCastExpression()
1247 Validator.WantRemainingKeywords = Tok.isNot(tok::r_paren); in ParseCastExpression()
1431 if (Tok.isNot(tok::identifier)) in ParseCastExpression()
1555 if (Tok.isNot(tok::l_paren) && in ParseCastExpression()
1556 (!getLangOpts().CPlusPlus11 || Tok.isNot(tok::l_brace))) in ParseCastExpression()
1916 if (Tok.isNot(tok::r_square) && in ParsePostfixExpressionSuffix()
1918 ((Tok.isNot(tok::colon) && getLangOpts().OpenMP >= 50)))) in ParsePostfixExpressionSuffix()
1927 if (Tok.isNot(tok::r_square)) { in ParsePostfixExpressionSuffix()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp607 if (Token.isNot(TokenKind)) in expectAndConsume()
614 if (Token.isNot(TokenKind)) in consumeIfPresent()
732 if (Token.isNot(MIToken::MachineBasicBlockLabel)) in parseBasicBlockDefinitions()
776 if (Token.isNot(MIToken::NamedRegister)) in parseBasicBlockLiveins()
785 if (Token.isNot(MIToken::IntegerLiteral) && in parseBasicBlockLiveins()
786 Token.isNot(MIToken::HexLiteral)) in parseBasicBlockLiveins()
809 if (Token.isNot(MIToken::MachineBasicBlock)) in parseBasicBlockSuccessors()
817 if (Token.isNot(MIToken::IntegerLiteral) && in parseBasicBlockSuccessors()
818 Token.isNot(MIToken::HexLiteral)) in parseBasicBlockSuccessors()
838 while (Token.isNot(MIToken::rparen) && !Token.isErrorOrEOF()) in parseBasicBlock()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DPragma.cpp216 if (Tok.isNot(tok::l_paren)) { in Handle_Pragma()
226 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::eof)) in Handle_Pragma()
228 while (Tok.isNot(tok::r_paren) && in Handle_Pragma()
230 Tok.isNot(tok::eof)) in Handle_Pragma()
251 if (Tok.isNot(tok::r_paren)) { in Handle_Pragma()
351 if (Tok.isNot(tok::l_paren)) { in HandleMicrosoft__pragma()
360 while (Tok.isNot(tok::eof)) { in HandleMicrosoft__pragma()
438 if (Tok.isNot(tok::raw_identifier)) { in HandlePragmaPoison()
501 if (FilenameTok.isNot(tok::header_name)) { in HandlePragmaDependency()
538 while (DependencyTok.isNot(tok::eod)) { in HandlePragmaDependency()
[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()
89 assert(Tmp.isNot(tok::eof) && "EOF seen while discarding directive tokens"); in DiscardUntilEndOfDirective()
350 if (MacroNameTok.isNot(tok::eod)) { in ReadMacroName()
482 if (Tok.isNot(tok::hash) || !Tok.isAtStartOfLine()) in SkipExcludedConditionalBlock()
497 if (Tok.isNot(tok::raw_identifier)) { in SkipExcludedConditionalBlock()
650 if (Callbacks && (Tok.isNot(tok::eof) || !isRecordingPreamble())) in SkipExcludedConditionalBlock()
1119 if (DigitTok.isNot(tok::numeric_constant)) { in GetLineValue()
1122 if (DigitTok.isNot(tok::eod)) in GetLineValue()
1207 else if (StrTok.isNot(tok::string_literal)) { in HandleLineDirective()
1357 } else if (StrTok.isNot(tok::string_literal)) { in HandleDigitDirective()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/
H A DUnwrappedLineParser.cpp404 if (Next && Next->isNot(tok::colon)) { in parseLevel()
523 ProbablyBracedList = NextTok->isNot(tok::l_square); in calculateBraceTypes()
556 } while (Tok->Tok.isNot(tok::eof) && !LBraceStack.empty()); in calculateBraceTypes()
672 if (I->Tok->isNot(tok::period)) in isGoogScope()
690 if (I->Tok->isNot(tok::l_paren)) in isIIFE()
693 if (I->Tok->isNot(Keywords.kw_function)) in isIIFE()
929 return Tok.isNot(tok::semi) && Tok.isNot(tok::l_brace) && in tokenCanStartNewLine()
930 Tok.isNot(TT_AttributeSquare) && in tokenCanStartNewLine()
933 Tok.isNot(tok::period) && Tok.isNot(tok::periodstar) && in tokenCanStartNewLine()
934 Tok.isNot(tok::arrow) && Tok.isNot(tok::arrowstar) && 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()
287 Previous.isNot(TT_DictLiteral) && Previous.is(BK_BracedInit) && in canBreak()
296 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
333 Current.is(TT_LambdaLBrace) && Previous.isNot(TT_LineComment)) { in mustBreak()
353 Previous.isNot(TT_CSharpGenericTypeConstraintComma)) in mustBreak()
364 Previous.isNot(tok::question)) || in mustBreak()
463 Previous.Previous->isNot(TT_BinaryOperator); // For >>. in mustBreak()
476 if (Current.is(tok::lessless) && Current.isNot(TT_OverloadedOperator) && in mustBreak()
[all …]
H A DTokenAnnotator.cpp110 Left->Previous && Left->Previous->Tok.isNot(tok::kw_template); in parseAngle()
173 Previous->isNot(tok::colon))) in parseAngle()
326 CurrentToken->is(tok::identifier) && Next->isNot(tok::equal)) { in parseParens()
454 while (AttrTok && AttrTok->isNot(tok::r_square)) { in isCSharpAttributeSpecifier()
495 if (AttrTok->isNot(tok::identifier)) in isCpp11AttributeSpecifier()
546 Left->isNot(TT_LambdaLSquare) && in parseSquare()
797 } else if (Left->ParameterCount == 0 && Current->isNot(tok::comment)) { in updateParameterCount()
1045 CurrentToken->Previous->isNot(tok::kw_operator)) in consumeToken()
1109 Tok->Next->isNot(tok::l_paren)) { in consumeToken()
1155 if (CurrentToken->isNot(tok::comment) && in parseIncludeDirective()
[all …]
H A DSortJavaScriptImports.cpp476 if (Current->isNot(tok::star)) in parseStarBinding()
479 if (Current->isNot(Keywords.kw_as)) in parseStarBinding()
482 if (Current->isNot(tok::identifier)) in parseStarBinding()
497 if (Current->isNot(tok::comma)) in parseNamedBindings()
501 if (Current->isNot(tok::l_brace)) in parseNamedBindings()
506 while (Current->isNot(tok::r_brace)) { in parseNamedBindings()
/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/apache2/llvm/dist/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