Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp177 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
197 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
210 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseSectionSwitch()
228 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSize()
236 if (getLexer().isNot(AsmToken::EndOfStatement)) 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()
[all …]
H A DCOFFAsmParser.cpp278 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
292 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
315 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch()
367 if (getLexer().isNot(AsmToken::String)) in parseSectionArguments()
392 if (getLexer().isNot(AsmToken::Comma)) in parseSectionArguments()
400 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseSectionArguments()
448 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveScl()
461 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveType()
488 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSecRel32()
540 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.cpp129 if (Lexer->isNot(AsmToken::Comma)) in parseGroup()
157 if (Lexer->isNot(AsmToken::String)) in parseSectionDirective()
272 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveIdent()
276 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveIdent()
295 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
304 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp634 if (Token.isNot(TokenKind)) in expectAndConsume()
641 if (Token.isNot(TokenKind)) in consumeIfPresent()
821 if (Token.isNot(MIToken::MachineBasicBlockLabel)) in parseBasicBlockDefinitions()
865 if (Token.isNot(MIToken::NamedRegister)) in parseBasicBlockLiveins()
874 if (Token.isNot(MIToken::IntegerLiteral) && in parseBasicBlockLiveins()
875 Token.isNot(MIToken::HexLiteral)) in parseBasicBlockLiveins()
898 if (Token.isNot(MIToken::MachineBasicBlock)) in parseBasicBlockSuccessors()
906 if (Token.isNot(MIToken::IntegerLiteral) && in parseBasicBlockSuccessors()
907 Token.isNot(MIToken::HexLiteral)) in parseBasicBlockSuccessors()
927 while (Token.isNot(MIToken::rparen) && !Token.isErrorOrEOF()) in parseBasicBlock()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp323 if (Tok.isNot(tok::l_paren)) { in HandlePragma()
329 if (Tok.isNot(tok::identifier)) { in HandlePragma()
345 if (Tok.isNot(tok::r_paren)) { in HandlePragma()
352 if (Tok.isNot(tok::eod)) { in HandlePragma()
772 if (Tok.isNot(tok::identifier)) { in HandlePragmaDump()
942 if (Tok.isNot(tok::l_brace)) { in HandlePragmaCaptured()
1060 while (Tok.isNot(tok::eof)) in HandlePragmaMSPragma()
1068 if (Tok.isNot(tok::l_paren)) { in HandlePragmaMSSection()
1074 if (Tok.isNot(tok::string_literal)) { in HandlePragmaMSSection()
1132 if (Tok.isNot(tok::r_paren)) { in HandlePragmaMSSection()
[all …]
H A DParseOpenMP.cpp349 } while (Tok.isNot(tok::annot_pragma_openmp_end)); in ParseOpenMPDeclareReductionDirective()
388 if (CombinerResult.isInvalid() && Tok.isNot(tok::r_paren) && in ParseOpenMPDeclareReductionDirective()
389 Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective()
396 if (Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective()
413 if (Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective()
433 if (InitializerResult.isInvalid() && Tok.isNot(tok::r_paren) && in ParseOpenMPDeclareReductionDirective()
434 Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareReductionDirective()
555 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in ParseOpenMPDeclareMapperDirective()
611 while (Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclareMapperDirective()
729 while (Tok.isNot(tok::annot_pragma_openmp_end)) { in parseDeclareSimdClauses()
[all …]
H A DParseTentative.cpp205 if (NextToken().isNot(tok::l_paren)) { in TryConsumeDeclarationSpecifier()
216 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()
436 if (P.Tok.isNot(tok::r_paren)) in markNotExpression()
438 if (P.Tok.isNot(tok::semi)) in markNotExpression()
747 if (Tok.isNot(tok::l_square) || NextToken().isNot(tok::l_square)) in isCXX11AttributeSpecifier()
827 while (Tok.isNot(tok::r_square)) { in isCXX11AttributeSpecifier()
890 if (Tok.isNot(tok::l_square)) in TrySkipAttributes()
893 if (!SkipUntil(tok::r_square) || Tok.isNot(tok::r_square)) in TrySkipAttributes()
[all …]
H A DParseInit.cpp213 if (Tok.isNot(tok::identifier)) { in ParseInitializerWithPotentialDesignator()
259 NextToken().isNot(tok::period) && in ParseInitializerWithPotentialDesignator()
359 if (getLangOpts().ObjC && Tok.isNot(tok::ellipsis) && in ParseInitializerWithPotentialDesignator()
360 Tok.isNot(tok::r_square)) { in ParseInitializerWithPotentialDesignator()
367 if (Tok.isNot(tok::ellipsis)) { in ParseInitializerWithPotentialDesignator()
518 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer()
556 if (Tok.isNot(tok::comma)) { in ParseBraceInitializer()
563 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer()
H A DParseCXXInlineMethods.cpp447 if (Tok.isNot(tok::eof) || Tok.getEofData() != Param) { in ParseLexedMethodDeclaration()
462 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration()
555 if (Tok.isNot(tok::eof) || Tok.getEofData() != LM.Method) in ParseLexedMethodDeclaration()
568 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration()
630 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef()
645 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef()
664 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef()
729 if (Tok.isNot(tok::eof)) { in ParseLexedMemberInitializer()
739 while (Tok.isNot(tok::eof)) in ParseLexedMemberInitializer()
843 while (Tok.isNot(tok::eof)) in ParseLexedAttribute()
[all …]
H A DParseObjc.cpp377 if (Tok.isNot(tok::less)) in ParseObjCAtInterfaceDeclaration()
581 if (Tok.isNot(tok::colon) && Tok.isNot(tok::l_paren)) { in parseObjCTypeParamListOrProtocolRefs()
696 if (Tok.isNot(tok::at)) { in ParseObjCInterfaceDeclList()
1024 if (Tok.isNot(tok::comma)) in ParseObjCPropertyAttribute()
1212 if (Tok.isNot(tok::identifier)) in ParseObjCTypeQualifierList()
1431 if (!SelIdent && Tok.isNot(tok::colon)) { // missing selector name. in ParseObjCMethodDecl()
1440 if (Tok.isNot(tok::colon)) { in ParseObjCMethodDecl()
1515 if (!SelIdent && Tok.isNot(tok::colon)) in ParseObjCMethodDecl()
1959 while (Tok.isNot(tok::r_brace) && !isEofOrEom()) { in ParseObjCClassInstanceVariables()
2107 if (Tok.isNot(tok::comma)) in ParseObjCAtProtocolDeclaration()
[all …]
H A DParseStmt.cpp218 if (Next.isNot(tok::coloncolon)) { in ParseStatementOrDeclarationAfterAttributes()
232 if (Tok.isNot(tok::identifier)) in ParseStatementOrDeclarationAfterAttributes()
604 if (Tok.isNot(tok::l_brace)) in ParseSEHTryBlock()
675 if (Tok.isNot(tok::l_brace)) in ParseSEHExceptBlock()
696 if (Tok.isNot(tok::l_brace)) in ParseSEHFinallyBlock()
1209 if (Tok.isNot(tok::identifier)) { in ParseCompoundStatementBody()
1236 while (!tryParseMisplacedModuleImport() && Tok.isNot(tok::r_brace) && in ParseCompoundStatementBody()
1237 Tok.isNot(tok::eof)) { in ParseCompoundStatementBody()
1247 if (Tok.isNot(tok::kw___extension__)) { in ParseCompoundStatementBody()
1364 if (Cond.isInvalid() && Tok.isNot(tok::r_paren)) { in ParseParenExprOrCondition()
[all …]
H A DParseExpr.cpp505 } else if (Tok.isNot(tok::colon)) { in ParseRHSOfBinaryExpression()
1184 assert(Tok.isNot(tok::kw_decltype) && Tok.isNot(tok::kw___super)); in ParseCastExpression()
1258 if (Tok.isNot(tok::identifier) && in ParseCastExpression()
1340 Validator.WantRemainingKeywords = Tok.isNot(tok::r_paren); in ParseCastExpression()
1541 if (Tok.isNot(tok::identifier)) in ParseCastExpression()
1676 if (Tok.isNot(tok::l_paren) && in ParseCastExpression()
1677 (!getLangOpts().CPlusPlus11 || Tok.isNot(tok::l_brace))) in ParseCastExpression()
2047 Tok.isNot(tok::colon)) { in ParsePostfixExpressionSuffix()
2063 } else if (Tok.isNot(tok::r_square)) { in ParsePostfixExpressionSuffix()
2080 if (Tok.isNot(tok::r_square)) in ParsePostfixExpressionSuffix()
[all …]
/freebsd/contrib/llvm-project/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()
368 if (Tok.isNot(tok::l_paren)) { in HandleMicrosoft__pragma()
377 while (Tok.isNot(tok::eof)) { in HandleMicrosoft__pragma()
459 if (Tok.isNot(tok::raw_identifier)) { in HandlePragmaPoison()
522 if (FilenameTok.isNot(tok::header_name)) { in HandlePragmaDependency()
558 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()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DContinuationIndenter.cpp142 ((Previous.isNot(TT_CtorInitializerComma) || in startsNextParameter()
145 (Previous.isNot(TT_InheritanceComma) || in startsNextParameter()
151 if (LessTok.isNot(tok::less)) in opensProtoMessageField()
302 Previous.isNot(TT_DictLiteral) && Previous.is(BK_BracedInit) && in canBreak()
312 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
351 Current.isNot(TT_LambdaLBrace)) && in canBreak()
376 Current.is(TT_LambdaLBrace) && Previous.isNot(TT_LineComment)) { in mustBreak()
404 Previous.isNot(TT_CSharpGenericTypeConstraintComma)) { in mustBreak()
409 State.Line->First->isNot(TT_AttributeSquare) && Style.isCpp() && in mustBreak()
416 Previous.isNot(tok::question)) || in mustBreak()
[all …]
H A DTokenAnnotator.cpp100 if (AttrTok->isNot(tok::identifier)) in isCppAttribute()
165 Previous.Previous->MatchingParen->isNot( in parseAngle()
184 if (BeforeLess && BeforeLess->isNot(tok::kw_template)) in parseAngle()
196 if (CurrentToken->isNot(TT_TemplateCloser)) { in parseAngle()
263 Previous->isNot(tok::colon))) { in parseAngle()
341 while (Prev->isNot(tok::kw_operator)) { in parseParens()
391 OpeningParen.Previous->isNot(tok::identifier))) { in parseParens()
483 PrevPrev->isNot(TT_TypeName) && Prev->isPointerOrReference() && in parseParens()
484 CurrentToken->is(tok::identifier) && Next->isNot(tok::equal)) { in parseParens()
501 if (OpeningParen.isNot(TT_CppCastLParen) && MightBeFunctionType && in parseParens()
[all …]
H A DFormatTokenLexer.cpp102 } while (Tokens.back()->isNot(tok::eof)); in lex()
332 if (At->isNot(tok::at) || String->isNot(tok::string_literal)) in tryMergeNSStringLiteral()
350 if (Hash->isNot(tok::hash) || Identifier->isNot(tok::identifier)) in tryMergeJSPrivateIdentifier()
373 if (String->isNot(tok::string_literal)) in tryMergeCSharpStringLiteral()
377 if (Prefix->isNot(tok::at) && Prefix->TokenText != "$") in tryMergeCSharpStringLiteral()
414 if (NullishCoalescing->isNot(TT_NullCoalescingOperator) || in tryMergeNullishCoalescingEqual()
415 Equal->isNot(tok::equal)) { in tryMergeNullishCoalescingEqual()
432 if (At->isNot(tok::at)) in tryMergeCSharpKeywordVariables()
454 if (Identifier->isNot(tok::identifier)) in tryTransformCSharpForEach()
469 if (For->isNot(tok::kw_for)) in tryMergeForEach()
[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 DUnwrappedLineParser.cpp405 if (!InRequiresExpression && FormatTok->isNot(TT_MacroBlockBegin)) { in parseLevel()
421 if (FormatTok->isNot(tok::r_brace) || StatementCount != 1 || HasLabel || in parseLevel()
515 } while (!NextTok->HasUnescapedNewline && NextTok->isNot(tok::eof)); in calculateBraceTypes()
552 } else if (LBrace->isNot(TT_EnumLBrace)) { in calculateBraceTypes()
610 ProbablyBracedList = NextTok->isNot(tok::l_square); in calculateBraceTypes()
630 if (Tok->isNot(TT_StatementMacro)) in calculateBraceTypes()
650 } while (Tok->isNot(tok::eof) && !LBraceStack.empty()); in calculateBraceTypes()
823 if (MacroBlock ? FormatTok->isNot(TT_MacroBlockEnd) in parseBlock()
824 : FormatTok->isNot(tok::r_brace)) { in parseBlock()
850 if (Tok->isNot(TT_ElseLBrac in parseBlock()
[all...]
H A DWhitespaceManager.cpp390 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 DUnwrappedLineFormatter.cpp404 I[i]->Last->isNot(tok::r_brace); in tryFitMultipleLinesInOne()
636 if (Line.First->isNot(tok::kw_do) && Line.First->isNot(tok::kw_else) && in tryMergeSimpleControlStatement()
637 Line.Last->isNot(tok::kw_else) && Line.Last->isNot(tok::r_paren)) { in tryMergeSimpleControlStatement()
641 if (Line.First->is(tok::kw_do) && Line.Last->isNot(tok::kw_do)) in tryMergeSimpleControlStatement()
702 if (Line->First->isNot(tok::comment) || Level != Line->Level) in tryMergeShortCaseLabels()
755 I[1]->First->isNot(tok::r_brace)); in tryMergeSimpleBlock()
768 I[1]->First->isNot(tok::r_brace)) { in tryMergeSimpleBlock()
775 I + 2 != E && I[2]->First->isNot(tok::r_brace)) { in tryMergeSimpleBlock()
782 I[1]->First->isNot(tok::r_brace)) { in tryMergeSimpleBlock()
790 I + 2 != E && I[2]->First->isNot(tok::r_brace)) { in tryMergeSimpleBlock()
[all …]
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp156 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/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()

1234