Home
last modified time | relevance | path

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

12345

/openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp176 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
196 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
209 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseSectionSwitch()
227 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSize()
235 if (getLexer().isNot(AsmToken::EndOfStatement)) 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()
[all …]
H A DCOFFAsmParser.cpp286 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
300 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
325 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch()
372 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveSection()
397 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSection()
405 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSection()
437 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveScl()
450 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveType()
477 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSecRel32()
529 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSafeSEH()
[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 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.cpp125 if (Lexer->isNot(AsmToken::Comma)) in parseGroup()
153 if (Lexer->isNot(AsmToken::String)) in parseSectionDirective()
268 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveIdent()
272 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveIdent()
291 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
300 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
H A DAsmParser.cpp1003 while (Lexer.isNot(AsmToken::Eof)) { in Run()
1100 while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof)) in eatToEndOfStatement()
1111 while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof)) in parseStringToEndOfStatement()
1121 while (Lexer.isNot(AsmToken::EndOfStatement) && in parseStringToComma()
1122 Lexer.isNot(AsmToken::Comma) && Lexer.isNot(AsmToken::Eof)) in parseStringToComma()
1385 if (Lexer.isNot(AsmToken::LParen)) in parsePrimaryExpr()
1518 if (Lexer.isNot(AsmToken::Identifier)) in parseExpression()
2400 if (Lexer.isNot(AsmToken::LCurly) && Lexer.isNot(AsmToken::RCurly)) in parseCurlyBlockScope()
2624 else if (Token.isNot(AsmToken::String) || VarargParameter) in expandMacro()
2691 if (Lexer.isNot(AsmToken::EndOfStatement)) { in parseMacroArgument()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp632 if (Token.isNot(TokenKind)) in expectAndConsume()
639 if (Token.isNot(TokenKind)) in consumeIfPresent()
795 if (Token.isNot(MIToken::MachineBasicBlockLabel)) in parseBasicBlockDefinitions()
839 if (Token.isNot(MIToken::NamedRegister)) in parseBasicBlockLiveins()
848 if (Token.isNot(MIToken::IntegerLiteral) && in parseBasicBlockLiveins()
849 Token.isNot(MIToken::HexLiteral)) in parseBasicBlockLiveins()
872 if (Token.isNot(MIToken::MachineBasicBlock)) in parseBasicBlockSuccessors()
880 if (Token.isNot(MIToken::IntegerLiteral) && in parseBasicBlockSuccessors()
881 Token.isNot(MIToken::HexLiteral)) in parseBasicBlockSuccessors()
901 while (Token.isNot(MIToken::rparen) && !Token.isErrorOrEOF()) in parseBasicBlock()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParsePragma.cpp273 if (Tok.isNot(tok::l_paren)) { in HandlePragma()
279 if (Tok.isNot(tok::identifier)) { in HandlePragma()
295 if (Tok.isNot(tok::r_paren)) { in HandlePragma()
302 if (Tok.isNot(tok::eod)) { in HandlePragma()
835 if (Tok.isNot(tok::l_brace)) { in HandlePragmaCaptured()
953 while (Tok.isNot(tok::eof)) in HandlePragmaMSPragma()
961 if (Tok.isNot(tok::l_paren)) { in HandlePragmaMSSection()
967 if (Tok.isNot(tok::string_literal)) { in HandlePragmaMSSection()
1025 if (Tok.isNot(tok::r_paren)) { in HandlePragmaMSSection()
1030 if (Tok.isNot(tok::eof)) { in HandlePragmaMSSection()
[all …]
H A DParseTentative.cpp196 if (NextToken().isNot(tok::l_paren)) { in TryConsumeDeclarationSpecifier()
207 if (Tok.isNot(tok::l_paren)) in TryConsumeDeclarationSpecifier()
274 if (Tok.isNot(tok::l_paren)) { in TryParseSimpleDeclaration()
287 if (Tok.isNot(tok::semi) && (!AllowForRangeDecl || Tok.isNot(tok::colon))) in TryParseSimpleDeclaration()
420 if (P.Tok.isNot(tok::r_paren)) in markNotExpression()
422 if (P.Tok.isNot(tok::semi)) in markNotExpression()
711 if (Tok.isNot(tok::l_square) || NextToken().isNot(tok::l_square)) in isCXX11AttributeSpecifier()
791 while (Tok.isNot(tok::r_square)) { in isCXX11AttributeSpecifier()
853 if (Tok.isNot(tok::l_square)) in TrySkipAttributes()
856 if (!SkipUntil(tok::r_square) || Tok.isNot(tok::r_square)) in TrySkipAttributes()
[all …]
H A DParseOpenMP.cpp346 } while (Tok.isNot(tok::annot_pragma_openmp_end)); in ParseOpenMPDeclareReductionDirective()
382 if (CombinerResult.isInvalid() && Tok.isNot(tok::r_paren) && in ParseOpenMPDeclareReductionDirective()
383 Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective()
390 if (Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective()
407 if (Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective()
427 if (InitializerResult.isInvalid() && Tok.isNot(tok::r_paren) && in ParseOpenMPDeclareReductionDirective()
428 Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective()
547 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in ParseOpenMPDeclareMapperDirective()
601 while (Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareMapperDirective()
718 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()
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 DParseCXXInlineMethods.cpp400 if (Tok.isNot(tok::eof) || Tok.getEofData() != Param) { in ParseLexedMethodDeclaration()
415 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration()
491 if (Tok.isNot(tok::eof) || Tok.getEofData() != LM.Method) 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()
663 if (Tok.isNot(tok::eof)) { in ParseLexedMemberInitializer()
673 while (Tok.isNot(tok::eof)) in ParseLexedMemberInitializer()
777 while (Tok.isNot(tok::eof)) in ParseLexedAttribute()
[all …]
H A DParseObjc.cpp369 if (Tok.isNot(tok::less)) in ParseObjCAtInterfaceDeclaration()
572 if (Tok.isNot(tok::colon) && Tok.isNot(tok::l_paren)) { in parseObjCTypeParamListOrProtocolRefs()
676 if (Tok.isNot(tok::at)) { in ParseObjCInterfaceDeclList()
1006 if (Tok.isNot(tok::comma)) in ParseObjCPropertyAttribute()
1194 if (Tok.isNot(tok::identifier)) in ParseObjCTypeQualifierList()
1412 if (!SelIdent && Tok.isNot(tok::colon)) { // missing selector name. in ParseObjCMethodDecl()
1421 if (Tok.isNot(tok::colon)) { in ParseObjCMethodDecl()
1498 if (!SelIdent && Tok.isNot(tok::colon)) in ParseObjCMethodDecl()
1956 while (Tok.isNot(tok::r_brace) && !isEofOrEom()) { in ParseObjCClassInstanceVariables()
2102 if (Tok.isNot(tok::comma)) in ParseObjCAtProtocolDeclaration()
[all …]
H A DParseStmt.cpp209 if (Next.isNot(tok::coloncolon)) { in ParseStatementOrDeclarationAfterAttributes()
223 if (Tok.isNot(tok::identifier)) in ParseStatementOrDeclarationAfterAttributes()
564 if (Tok.isNot(tok::l_brace)) in ParseSEHTryBlock()
635 if (Tok.isNot(tok::l_brace)) in ParseSEHExceptBlock()
656 if (Tok.isNot(tok::l_brace)) in ParseSEHFinallyBlock()
1147 if (Tok.isNot(tok::identifier)) { in ParseCompoundStatementBody()
1174 while (!tryParseMisplacedModuleImport() && Tok.isNot(tok::r_brace) && in ParseCompoundStatementBody()
1175 Tok.isNot(tok::eof)) { in ParseCompoundStatementBody()
1185 if (Tok.isNot(tok::kw___extension__)) { in ParseCompoundStatementBody()
1302 if (Cond.isInvalid() && Tok.isNot(tok::r_paren)) { in ParseParenExprOrCondition()
[all …]
H A DParseExpr.cpp475 } else if (Tok.isNot(tok::colon)) { in ParseRHSOfBinaryExpression()
1042 assert(Tok.isNot(tok::kw_decltype) && Tok.isNot(tok::kw___super)); in ParseCastExpression()
1180 if (Tok.isNot(tok::identifier) && in ParseCastExpression()
1263 Validator.WantRemainingKeywords = Tok.isNot(tok::r_paren); in ParseCastExpression()
1450 if (Tok.isNot(tok::identifier)) in ParseCastExpression()
1581 if (Tok.isNot(tok::l_paren) && in ParseCastExpression()
1582 (!getLangOpts().CPlusPlus11 || Tok.isNot(tok::l_brace))) in ParseCastExpression()
1948 if (!getLangOpts().OpenMP || Tok.isNot(tok::colon)) { in ParsePostfixExpressionSuffix()
1964 } else if (Tok.isNot(tok::r_square)) { in ParsePostfixExpressionSuffix()
1977 if (Tok.isNot(tok::r_square) && in ParsePostfixExpressionSuffix()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DPragma.cpp217 if (Tok.isNot(tok::l_paren)) { in Handle_Pragma()
227 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::eof)) in Handle_Pragma()
229 while (Tok.isNot(tok::r_paren) && in Handle_Pragma()
231 Tok.isNot(tok::eof)) in Handle_Pragma()
252 if (Tok.isNot(tok::r_paren)) { in Handle_Pragma()
357 if (Tok.isNot(tok::l_paren)) { in HandleMicrosoft__pragma()
366 while (Tok.isNot(tok::eof)) { in HandleMicrosoft__pragma()
448 if (Tok.isNot(tok::raw_identifier)) { in HandlePragmaPoison()
511 if (FilenameTok.isNot(tok::header_name)) { in HandlePragmaDependency()
547 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()
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/clang/lib/Format/
H A DUnwrappedLineParser.cpp563 if (FormatTok->isNot(tok::r_brace) || StatementCount != 1 || HasLabel || in parseLevel()
586 if (Next->isNot(tok::colon)) { in parseLevel()
689 } while (NextTok->isNot(tok::eof)); in calculateBraceTypes()
741 ProbablyBracedList = NextTok->isNot(tok::l_square); in calculateBraceTypes()
774 } while (Tok->isNot(tok::eof) && !LBraceStack.empty()); in calculateBraceTypes()
960 if (Tok->isNot(TT_ElseLBrace) || !HasRequiredIfBraces) { in parseBlock()
1042 if (I->Tok->isNot(tok::period)) in isGoogScope()
1060 if (I->Tok->isNot(tok::l_paren)) in isIIFE()
1063 if (I->Tok->isNot(Keywords.kw_function)) in isIIFE()
1329 return Tok.isNot(tok::semi) && Tok.isNot(tok::l_brace) && in tokenCanStartNewLine()
[all …]
H A DContinuationIndenter.cpp133 ((Previous.isNot(TT_CtorInitializerComma) || in startsNextParameter()
136 (Previous.isNot(TT_InheritanceComma) || in startsNextParameter()
142 if (LessTok.isNot(tok::less)) in opensProtoMessageField()
292 Previous.isNot(TT_DictLiteral) && Previous.is(BK_BracedInit) && in canBreak()
302 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
352 Current.is(TT_LambdaLBrace) && Previous.isNot(TT_LineComment)) { in mustBreak()
377 Previous.isNot(TT_CSharpGenericTypeConstraintComma)) { in mustBreak()
389 Previous.isNot(tok::question)) || in mustBreak()
505 Previous.Previous->isNot(TT_BinaryOperator); // For >>. in mustBreak()
515 if (Current.is(tok::lessless) && Current.isNot(TT_OverloadedOperator) && in mustBreak()
[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 DTokenAnnotator.cpp88 if (AttrTok->isNot(tok::identifier)) in isCppAttribute()
151 if (Left->Previous && Left->Previous->isNot(tok::kw_template)) in parseAngle()
219 Previous->isNot(tok::colon))) { in parseAngle()
402 CurrentToken->is(tok::identifier) && Next->isNot(tok::equal)) { in parseParens()
419 if (OpeningParen.isNot(TT_CppCastLParen) && MightBeFunctionType && in parseParens()
549 while (AttrTok && AttrTok->isNot(tok::r_square)) in isCSharpAttributeSpecifier()
615 Left->isNot(TT_LambdaLSquare) && in parseSquare()
905 } else if (Left->ParameterCount == 0 && Current->isNot(tok::comment)) { in updateParameterCount()
976 } else if (Style.isVerilog() && Tok->isNot(TT_BinaryOperator)) { in consumeToken()
1108 if (!CurrentToken || CurrentToken->isNot(tok::l_paren)) in consumeToken()
[all …]
H A DSortJavaScriptImports.cpp492 if (Current->isNot(tok::star)) in parseStarBinding()
495 if (Current->isNot(Keywords.kw_as)) in parseStarBinding()
498 if (Current->isNot(tok::identifier)) in parseStarBinding()
526 if (Current->isNot(tok::comma)) in parseNamedBindings()
530 if (Current->isNot(tok::l_brace)) in parseNamedBindings()
535 while (Current->isNot(tok::r_brace)) { in parseNamedBindings()
H A DMacroExpander.cpp81 if (Current->isNot(tok::comma)) in parseParams()
85 if (Current->isNot(tok::r_paren)) in parseParams()
101 while (Current->isNot(tok::eof)) { in parseTail()
/openbsd-src/gnu/llvm/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