| /freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | ELFAsmParser.cpp | 154 if (getLexer().isNot(AsmToken::EndOfStatement)) { in parseDirectiveSymbolAttribute() 174 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveSymbolAttribute() 187 if (getLexer().isNot(AsmToken::EndOfStatement)) { in parseSectionSwitch() 204 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveSize() 212 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveSize() 397 if (L.isNot(AsmToken::Comma)) in maybeParseSectionType() 400 if (L.isNot(AsmToken::At) && L.isNot(AsmToken::Percent) && in maybeParseSectionType() 401 L.isNot(AsmToken::String)) { in maybeParseSectionType() 418 if (getLexer().isNot(AsmToken::Comma)) in parseMergeSize() 430 if (L.isNot(AsmToken::Comma)) in parseGroup() [all …]
|
| H A D | COFFAsmParser.cpp | 294 if (getLexer().isNot(AsmToken::EndOfStatement)) { in parseDirectiveSymbolAttribute() 306 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveSymbolAttribute() 331 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseSectionSwitch() 383 if (getLexer().isNot(AsmToken::String)) in parseSectionArguments() 409 if (getLexer().isNot(AsmToken::Comma)) in parseSectionArguments() 421 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseSectionArguments() 467 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveScl() 480 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveType() 507 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveSecRel32() 555 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveSafeSEH() [all …]
|
| H A D | DarwinAsmParser.cpp | 477 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseSectionSwitch() 525 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveDesc() 533 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveDesc() 569 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveIndirectSymbol() 582 if (getLexer().isNot(AsmToken::String)) in parseDirectiveDumpOrLoad() 587 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveDumpOrLoad() 605 if (getLexer().isNot(AsmToken::String)) in parseDirectiveLinkerOption() 617 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveLinkerOption() 633 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveLsym() 641 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveLsym() [all …]
|
| H A D | MCAsmParserExtension.cpp | 33 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveCGProfile() 42 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveCGProfile() 50 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveCGProfile() 64 if (L.isNot(AsmToken::Comma)) in maybeParseUniqueID() 72 if (L.isNot(AsmToken::Comma)) in maybeParseUniqueID()
|
| H A D | WasmAsmParser.cpp | 129 if (Lexer->isNot(AsmToken::Comma)) in parseGroup() 157 if (Lexer->isNot(AsmToken::String)) in parseSectionDirective() 270 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveIdent() 274 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveIdent() 293 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute() 301 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 642 if (Token.isNot(TokenKind)) in expectAndConsume() 649 if (Token.isNot(TokenKind)) in consumeIfPresent() 822 if (Token.isNot(MIToken::MachineBasicBlockLabel)) in parseBasicBlockDefinitions() 866 if (Token.isNot(MIToken::NamedRegister)) in parseBasicBlockLiveins() 875 if (Token.isNot(MIToken::IntegerLiteral) && in parseBasicBlockLiveins() 876 Token.isNot(MIToken::HexLiteral)) in parseBasicBlockLiveins() 899 if (Token.isNot(MIToken::MachineBasicBlock)) in parseBasicBlockSuccessors() 907 if (Token.isNot(MIToken::IntegerLiteral) && in parseBasicBlockSuccessors() 908 Token.isNot(MIToken::HexLiteral)) in parseBasicBlockSuccessors() 928 while (Token.isNot(MIToken::rparen) && !Token.isErrorOrEOF()) in parseBasicBlock() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | Pragma.cpp | 213 if (Tok.isNot(tok::l_paren)) { in Handle_Pragma() 223 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::eof) && Tok.isNot(tok::eod)) in Handle_Pragma() 225 while (Tok.isNot(tok::r_paren) && in Handle_Pragma() 227 Tok.isNot(tok::eof) && Tok.isNot(tok::eod)) in Handle_Pragma() 248 if (Tok.isNot(tok::r_paren)) { in Handle_Pragma() 364 if (Tok.isNot(tok::l_paren)) { in HandleMicrosoft__pragma() 373 while (Tok.isNot(tok::eof)) { in HandleMicrosoft__pragma() 455 if (Tok.isNot(tok::raw_identifier)) { in HandlePragmaPoison() 518 if (FilenameTok.isNot(tok::header_name)) { in HandlePragmaDependency() 554 while (DependencyTok.isNot(tok::eod)) { in HandlePragmaDependency() [all …]
|
| H A D | MacroArgs.cpp | 109 for (; ArgPtr->isNot(tok::eof); ++ArgPtr) in getArgLength() 140 return getPreExpArgument(VariadicArgIndex, PP).front().isNot(tok::eof); in invokedWithVariadicArgument() 149 for (; ArgTok->isNot(tok::eof); ++ArgTok) in ArgNeedsPreexpansion() 188 } while (Result.back().isNot(tok::eof)); in getPreExpArgument() 222 for (; ArgToks->isNot(tok::eof); ++ArgToks) { in StringifyArgument()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParsePragma.cpp | 317 if (Tok.isNot(tok::l_paren)) { in HandlePragma() 323 if (Tok.isNot(tok::identifier)) { in HandlePragma() 339 if (Tok.isNot(tok::r_paren)) { in HandlePragma() 346 if (Tok.isNot(tok::eod)) { in HandlePragma() 760 if (Tok.isNot(tok::identifier)) { in HandlePragmaDump() 930 if (Tok.isNot(tok::l_brace)) { in HandlePragmaCaptured() 1049 while (Tok.isNot(tok::eof)) in HandlePragmaMSPragma() 1057 if (Tok.isNot(tok::l_paren)) { in HandlePragmaMSSection() 1063 if (Tok.isNot(tok::string_literal)) { in HandlePragmaMSSection() 1121 if (Tok.isNot(tok::r_paren)) { in HandlePragmaMSSection() [all …]
|
| H A D | ParseOpenMP.cpp | 220 } while (Tok.isNot(tok::annot_pragma_openmp_end)); in ParseOpenMPDeclareReductionDirective() 259 if (CombinerResult.isInvalid() && Tok.isNot(tok::r_paren) && in ParseOpenMPDeclareReductionDirective() 260 Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective() 267 if (Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective() 284 if (Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective() 304 if (InitializerResult.isInvalid() && Tok.isNot(tok::r_paren) && in ParseOpenMPDeclareReductionDirective() 305 Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective() 420 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in ParseOpenMPDeclareMapperDirective() 477 while (Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareMapperDirective() 666 while (Tok.isNot(tok::annot_pragma_openmp_end)) { in parseDeclareSimdClauses() [all …]
|
| H A D | ParseTentative.cpp | 152 if (NextToken().isNot(tok::l_paren)) { in TryConsumeDeclarationSpecifier() 163 if (Tok.isNot(tok::l_paren)) in TryConsumeDeclarationSpecifier() 223 if (Tok.isNot(tok::l_paren)) { in TryParseSimpleDeclaration() 237 if (Tok.isNot(tok::semi) && (!AllowForRangeDecl || Tok.isNot(tok::colon))) in TryParseSimpleDeclaration() 348 if (P.Tok.isNot(tok::r_paren)) in markNotExpression() 350 if (P.Tok.isNot(tok::semi)) in markNotExpression() 595 if (Tok.isNot(tok::l_square) || NextToken().isNot(tok::l_square)) in isCXX11AttributeSpecifier() 676 while (Tok.isNot(tok::r_square)) { in isCXX11AttributeSpecifier() 744 if (!SkipUntil(tok::r_square) || Tok.isNot(tok::r_square)) in TrySkipAttributes() 754 if (Tok.isNot(tok::l_paren)) in TrySkipAttributes() [all …]
|
| H A D | ParseInit.cpp | 165 if (Tok.isNot(tok::identifier)) { in ParseInitializerWithPotentialDesignator() 211 NextToken().isNot(tok::period) && in ParseInitializerWithPotentialDesignator() 311 if (getLangOpts().ObjC && Tok.isNot(tok::ellipsis) && in ParseInitializerWithPotentialDesignator() 312 Tok.isNot(tok::r_square)) { in ParseInitializerWithPotentialDesignator() 319 if (Tok.isNot(tok::ellipsis)) { in ParseInitializerWithPotentialDesignator() 458 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer() 494 if (Tok.isNot(tok::comma)) { in ParseBraceInitializer() 501 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer()
|
| H A D | ParseObjc.cpp | 332 if (Tok.isNot(tok::less)) in ParseObjCAtInterfaceDeclaration() 513 if (Tok.isNot(tok::colon) && Tok.isNot(tok::l_paren)) { in parseObjCTypeParamListOrProtocolRefs() 615 if (Tok.isNot(tok::at)) { in ParseObjCInterfaceDeclList() 917 if (Tok.isNot(tok::comma)) in ParseObjCPropertyAttribute() 1001 if (Tok.isNot(tok::identifier)) in ParseObjCTypeQualifierList() 1201 if (!SelIdent && Tok.isNot(tok::colon)) { // missing selector name. in ParseObjCMethodDecl() 1210 if (Tok.isNot(tok::colon)) { in ParseObjCMethodDecl() 1285 if (!SelIdent && Tok.isNot(tok::colon)) in ParseObjCMethodDecl() 1709 while (Tok.isNot(tok::r_brace) && !isEofOrEom()) { in ParseObjCClassInstanceVariables() 1840 if (Tok.isNot(tok::comma)) in ParseObjCAtProtocolDeclaration() [all …]
|
| H A D | ParseCXXInlineMethods.cpp | 429 if (Tok.isNot(tok::eof) || Tok.getEofData() != Param) { in ParseLexedMethodDeclaration() 444 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration() 537 if (Tok.isNot(tok::eof) || Tok.getEofData() != LM.Method) in ParseLexedMethodDeclaration() 550 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration() 607 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef() 694 if (Tok.isNot(tok::eof)) { in ParseLexedMemberInitializer() 704 while (Tok.isNot(tok::eof)) in ParseLexedMemberInitializer() 800 while (Tok.isNot(tok::eof)) in ParseLexedAttribute() 923 if (Tok.isNot(tok::colon)) { in ConsumeAndStoreFunctionPrologue() 932 if (Tok.isNot(tok::l_brace)) in ConsumeAndStoreFunctionPrologue() [all …]
|
| H A D | ParseStmt.cpp | 172 if (Next.isNot(tok::coloncolon)) { in ParseStatementOrDeclarationAfterAttributes() 186 if (Tok.isNot(tok::identifier)) in ParseStatementOrDeclarationAfterAttributes() 562 if (Tok.isNot(tok::l_brace)) in ParseSEHTryBlock() 628 if (Tok.isNot(tok::l_brace)) in ParseSEHExceptBlock() 644 if (Tok.isNot(tok::l_brace)) in ParseSEHFinallyBlock() 1121 if (Tok.isNot(tok::identifier)) { in ParseCompoundStatementBody() 1149 while (!tryParseMisplacedModuleImport() && Tok.isNot(tok::r_brace) && in ParseCompoundStatementBody() 1150 Tok.isNot(tok::eof)) { in ParseCompoundStatementBody() 1160 if (Tok.isNot(tok::kw___extension__)) { in ParseCompoundStatementBody() 1271 if (Cond.isInvalid() && Tok.isNot(tok::r_paren)) { in ParseParenExprOrCondition() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Format/ |
| H A D | TokenAnnotator.cpp | 100 if (AttrTok->isNot(tok::identifier)) in isCppAttribute() 182 if (BeforeLess && BeforeLess->isNot(tok::kw_template)) in parseAngle() 192 if (CurrentToken->isNot(TT_TemplateCloser)) { in parseAngle() 261 Previous->isNot(tok::colon))) { in parseAngle() 338 while (Prev->isNot(tok::kw_operator)) { in parseParens() 389 OpeningParen.Previous->isNot(tok::identifier))) { in parseParens() 487 if (OpeningParen.isNot(TT_CppCastLParen) && MightBeFunctionType && in parseParens() 641 while (AttrTok && AttrTok->isNot(tok::r_square)) in isCSharpAttributeSpecifier() 702 Contexts.back().CanBeExpression && Left->isNot(TT_LambdaLSquare) && in parseSquare() 1005 if (Tok.isNot(tok::identifier) || in isTableGenDAGArgBreakingOperator() [all …]
|
| H A D | ContinuationIndenter.cpp | 159 if (LessTok.isNot(tok::less)) in opensProtoMessageField() 310 Previous.isNot(TT_DictLiteral) && Previous.is(BK_BracedInit) && in canBreak() 320 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak() 376 Current.isNot(TT_LambdaLBrace)) && in canBreak() 401 Current.is(TT_LambdaLBrace) && Previous.isNot(TT_LineComment)) { in mustBreak() 431 Previous.isNot(TT_CSharpGenericTypeConstraintComma)) { in mustBreak() 436 State.Line->First->isNot(TT_AttributeSquare) && Style.isCpp() && in mustBreak() 444 Previous.isNot(tok::question)) || in mustBreak() 481 if (Current.is(TT_ObjCMethodExpr) && Previous.isNot(TT_SelectorName) && in mustBreak() 485 if (Current.is(TT_SelectorName) && Previous.isNot(tok::at) && in mustBreak() [all …]
|
| H A D | FormatTokenLexer.cpp | 144 } while (Tokens.back()->isNot(tok::eof)); in lex() 375 if (At->isNot(tok::at) || String->isNot(tok::string_literal)) in tryMergeNSStringLiteral() 393 if (Hash->isNot(tok::hash) || Identifier->isNot(tok::identifier)) in tryMergeJSPrivateIdentifier() 416 if (String->isNot(tok::string_literal)) in tryMergeCSharpStringLiteral() 420 if (Prefix->isNot(tok::at) && Prefix->TokenText != "$") in tryMergeCSharpStringLiteral() 457 if (NullishCoalescing->isNot(TT_NullCoalescingOperator) || in tryMergeNullishCoalescingEqual() 458 Equal->isNot(tok::equal)) { in tryMergeNullishCoalescingEqual() 475 if (At->isNot(tok::at)) in tryMergeCSharpKeywordVariables() 497 if (Identifier->isNot(tok::identifier)) in tryTransformCSharpForEach() 512 if (For->isNot(tok::kw_for)) in tryMergeForEach() [all …]
|
| H A D | MacroExpander.cpp | 55 if (Current->isNot(tok::identifier)) in parse() 78 if (Current->isNot(tok::comma)) in parseParams() 82 if (Current->isNot(tok::r_paren)) in parseParams() 98 while (Current->isNot(tok::eof)) { in parseTail() 191 if (Tok->isNot(tok::identifier)) in expand()
|
| H A D | ObjCPropertyAttributeOrderFixer.cpp | 79 if (Tok->Next->isNot(tok::identifier)) { in sortPropertyAttributes() 160 if (!PropertyTok || PropertyTok->isNot(Keywords.kw_property)) in analyzeObjCPropertyDecl() 165 if (!LParenTok || LParenTok->isNot(tok::l_paren)) in analyzeObjCPropertyDecl() 201 if (Tok->isNot(TT_ObjCProperty)) in analyze()
|
| H A D | UnwrappedLineParser.cpp | 399 if (!InRequiresExpression && FormatTok->isNot(TT_MacroBlockBegin)) { in parseLevel() 415 if (FormatTok->isNot(tok::r_brace) || StatementCount != 1 || HasLabel || in parseLevel() 509 } while (!NextTok->HasUnescapedNewline && NextTok->isNot(tok::eof)); in calculateBraceTypes() 546 } else if (LBrace->isNot(TT_EnumLBrace)) { in calculateBraceTypes() 605 ProbablyBracedList = NextTok->isNot(tok::l_square); in calculateBraceTypes() 625 if (Tok->isNot(TT_StatementMacro)) in calculateBraceTypes() 645 } while (Tok->isNot(tok::eof) && !LBraceStack.empty()); in calculateBraceTypes() 818 if (MacroBlock ? FormatTok->isNot(TT_MacroBlockEnd) in parseBlock() 819 : FormatTok->isNot(tok::r_brace)) { in parseBlock() 845 if (Tok->isNot(TT_ElseLBrace) || !HasRequiredIfBraces) { in parseBlock() [all …]
|
| H A D | UnwrappedLineFormatter.cpp | 396 I[i]->Last->isNot(tok::r_brace); in tryFitMultipleLinesInOne() 593 if (BraceOpenLine[0]->Last->isNot(TT_NamespaceLBrace)) in tryMergeNamespace() 640 BraceOpenLine[MergedLines + 1]->Last->isNot(tok::comment) && in tryMergeNamespace() 651 if (L1.Last->isNot(tok::semi)) in tryMergeNamespace() 655 if (L2.First->isNot(TT_NamespaceRBrace) || L2.First->MustBreakBefore) in tryMergeNamespace() 680 if (Line.First->isNot(tok::kw_do) && Line.First->isNot(tok::kw_else) && in tryMergeSimpleControlStatement() 681 Line.Last->isNot(tok::kw_else) && Line.Last->isNot(tok::r_paren)) { in tryMergeSimpleControlStatement() 685 if (Line.First->is(tok::kw_do) && Line.Last->isNot(tok::kw_do)) in tryMergeSimpleControlStatement() 745 if (Line->First->isNot(tok::comment) || Level != Line->Level) in tryMergeShortCaseLabels() 795 I[1]->First->isNot(tok::r_brace)); in tryMergeSimpleBlock() [all …]
|
| H A D | WhitespaceManager.cpp | 390 Changes[ScopeStart].Tok->isNot(TT_LambdaLSquare)) { in AlignTokenSequence() 429 Changes[ScopeStart - 2].Tok->isNot(tok::identifier) && in AlignTokenSequence() 431 CurrentChange.Tok->isNot(tok::r_brace)) { in AlignTokenSequence() 482 if (Changes[Previous].Tok->isNot(tok::star)) { in AlignTokenSequence() 615 if (i == 0 || CurrentChange.Tok->isNot(tok::string_literal) || 616 Changes[i - 1].Tok->isNot(tok::string_literal)) { 622 if (CurrentChange.Tok->isNot(tok::comment)) 756 if (!Current || Current->isNot(tok::identifier)) in alignConsecutiveMacros() 759 if (!Current->Previous || Current->Previous->isNot(tok::pp_define)) in alignConsecutiveMacros() 806 if (Changes[I].Tok->isNot(tok::comment)) in alignConsecutiveMacros() [all …]
|
| H A D | SortJavaScriptImports.cpp | 493 if (Current->isNot(tok::star)) in parseStarBinding() 496 if (Current->isNot(Keywords.kw_as)) in parseStarBinding() 499 if (Current->isNot(tok::identifier)) in parseStarBinding() 528 if (Current->isNot(tok::period)) in parseNamedBindings() 533 if (Current->isNot(tok::comma)) in parseNamedBindings() 537 if (Current->isNot(tok::l_brace)) in parseNamedBindings() 542 while (Current->isNot(tok::r_brace)) { in parseNamedBindings()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteMacros.cpp | 83 } while (RawTok.isNot(tok::eof)); in LexRawTokensFromMainFile() 112 while (RawTok.isNot(tok::eof) || PPTok.isNot(tok::eof)) { in RewriteMacrosInInput() 145 while (!RawTok.isAtStartOfLine() && RawTok.isNot(tok::eof)) in RewriteMacrosInInput()
|