Home
last modified time | relevance | path

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

123

/external/llvm/lib/MC/MCParser/
DCOFFAsmParser.cpp140 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
154 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
167 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch()
196 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveScl()
209 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveType()
228 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSecRel32()
243 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSEHDirectiveStartProc()
276 if (getLexer().isNot(AsmToken::Comma)) in ParseSEHDirectiveHandler()
287 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSEHDirectiveHandler()
308 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSEHDirectivePushReg()
[all …]
DELFAsmParser.cpp168 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
182 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
194 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch()
210 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSize()
218 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSize()
355 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveSection()
369 if (getLexer().isNot(AsmToken::Comma)) { in ParseDirectiveSection()
376 if (getLexer().isNot(AsmToken::Percent) && getLexer().isNot(AsmToken::At)) in ParseDirectiveSection()
384 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSection()
394 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSection()
[all …]
DDarwinAsmParser.cpp364 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch()
399 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveDesc()
407 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveDesc()
423 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveDumpOrLoad()
428 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveDumpOrLoad()
446 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveLinkerOption()
459 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveLinkerOption()
478 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveLsym()
486 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveLsym()
520 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSection()
[all …]
DAsmParser.cpp614 while (Lexer.isNot(AsmToken::Eof)) { in Run()
677 while (Lexer.isNot(AsmToken::EndOfStatement) && in eatToEndOfStatement()
678 Lexer.isNot(AsmToken::Eof)) in eatToEndOfStatement()
689 while (Lexer.isNot(AsmToken::EndOfStatement) && in parseStringToEndOfStatement()
690 Lexer.isNot(AsmToken::Eof)) in parseStringToEndOfStatement()
700 while (Lexer.isNot(AsmToken::EndOfStatement) && in ParseStringToComma()
701 Lexer.isNot(AsmToken::Comma) && in ParseStringToComma()
702 Lexer.isNot(AsmToken::Eof)) in ParseStringToComma()
716 if (Lexer.isNot(AsmToken::RParen)) in ParseParenExpr()
730 if (Lexer.isNot(AsmToken::RBrac)) in ParseBracketExpr()
[all …]
/external/clang/lib/Parse/
DParsePragma.cpp172 if (Tok.isNot(tok::l_paren)) { in HandlePragma()
185 if (Tok.isNot(tok::r_paren)) { in HandlePragma()
196 if (Tok.isNot(tok::eod)) { in HandlePragma()
223 if (Tok.isNot(tok::l_paren)) { in HandlePragma()
274 if (Tok.isNot(tok::numeric_constant)) { in HandlePragma()
296 if (Tok.isNot(tok::r_paren)) { in HandlePragma()
303 if (Tok.isNot(tok::eod)) { in HandlePragma()
339 if (Tok.isNot(tok::identifier)) { in HandlePragma()
355 if (Tok.isNot(tok::eod)) { in HandlePragma()
382 if (Tok.isNot(tok::identifier) || in ParseAlignPragma()
[all …]
DParseObjc.cpp96 if (Tok.isNot(tok::identifier)) { in ParseObjCAtClassDeclaration()
105 if (Tok.isNot(tok::comma)) in ParseObjCAtClassDeclaration()
182 if (Tok.isNot(tok::identifier)) { in ParseObjCAtInterfaceDeclaration()
261 if (Tok.isNot(tok::identifier)) { in ParseObjCAtInterfaceDeclaration()
419 if (Tok.isNot(tok::at)) { in ParseObjCInterfaceDeclList()
637 if (Tok.isNot(tok::comma)) in ParseObjCPropertyAttribute()
808 if (Tok.isNot(tok::identifier)) in ParseObjCTypeQualifierList()
1003 if (!SelIdent && Tok.isNot(tok::colon)) { // missing selector name. in ParseObjCMethodDecl()
1012 if (Tok.isNot(tok::colon)) { in ParseObjCMethodDecl()
1041 if (Tok.isNot(tok::colon)) { in ParseObjCMethodDecl()
[all …]
DParseStmt.cpp136 if (Next.isNot(tok::coloncolon)) { in ParseStatementOrDeclarationAfterAttributes()
164 if (Tok.isNot(tok::identifier)) in ParseStatementOrDeclarationAfterAttributes()
357 if(Tok.isNot(tok::l_brace)) in ParseSEHTryBlockCommon()
598 if (Tok.isNot(tok::r_brace)) { in ParseCaseStatement()
647 if (Tok.isNot(tok::r_brace)) { in ParseDefaultStatement()
784 if (Tok.isNot(tok::identifier)) { in ParseCompoundStatementBody()
808 while (Tok.isNot(tok::r_brace) && Tok.isNot(tok::eof)) { in ParseCompoundStatementBody()
821 if (Tok.isNot(tok::kw___extension__)) { in ParseCompoundStatementBody()
912 if (ExprResult.isInvalid() && !DeclResult && Tok.isNot(tok::r_paren)) { in ParseParenExprOrCondition()
916 if (Tok.isNot(tok::r_paren)) in ParseParenExprOrCondition()
[all …]
DParseInit.cpp188 if (Tok.isNot(tok::identifier)) { in ParseInitializerWithPotentialDesignator()
234 NextToken().isNot(tok::period) && in ParseInitializerWithPotentialDesignator()
324 if (getLangOpts().ObjC1 && Tok.isNot(tok::ellipsis) && in ParseInitializerWithPotentialDesignator()
325 Tok.isNot(tok::r_square)) { in ParseInitializerWithPotentialDesignator()
334 if (Tok.isNot(tok::ellipsis)) { in ParseInitializerWithPotentialDesignator()
425 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer()
459 if (Tok.isNot(tok::comma)) { in ParseBraceInitializer()
466 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer()
515 while (Tok.isNot(tok::eof)) { in ParseMicrosoftIfExistsBraceInitializer()
DParseTentative.cpp168 if (Tok.isNot(tok::l_paren)) { in TryParseSimpleDeclaration()
181 if (Tok.isNot(tok::semi) && (!AllowForRangeDecl || Tok.isNot(tok::colon))) in TryParseSimpleDeclaration()
239 if (Tok.isNot(tok::comma)) in TryParseInitDeclaratorList()
435 if (Tok.isNot(tok::l_square) || NextToken().isNot(tok::l_square)) in isCXX11AttributeSpecifier()
495 while (Tok.isNot(tok::r_square)) { in isCXX11AttributeSpecifier()
532 if (Tok.isNot(tok::comma)) in isCXX11AttributeSpecifier()
675 if (Tok.isNot(tok::r_paren)) in TryParseDeclarator()
981 if (Next.isNot(tok::coloncolon) && Next.isNot(tok::less)) { in isCXXDeclarationSpecifier()
1003 assert(Tok.isNot(tok::identifier) && in isCXXDeclarationSpecifier()
1178 assert(Tok.isNot(tok::annot_cxxscope) || in isCXXDeclarationSpecifier()
[all …]
DParseDeclCXX.cpp197 while (Tok.isNot(tok::r_brace) && Tok.isNot(tok::eof)) { in ParseInnerNamespace()
248 if (SS.isInvalid() || Tok.isNot(tok::identifier)) { in ParseNamespaceAlias()
302 if (Tok.isNot(tok::l_brace)) { in ParseLinkage()
320 while (Tok.isNot(tok::r_brace) && Tok.isNot(tok::eof)) { in ParseLinkage()
405 if (SS.isInvalid() || Tok.isNot(tok::identifier)) { in ParseUsingDirective()
865 if (Tok.isNot(tok::identifier)) { in ParseBaseTypeSpecifier()
900 if (Tok.isNot(tok::annot_typename)) in ParseBaseTypeSpecifier()
1166 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::annot_template_id)) in ParseClassSpecifier()
1331 if (Tok.isNot(tok::semi)) { in ParseClassSpecifier()
1576 if (Tok.isNot(tok::semi)) { in ParseClassSpecifier()
[all …]
DParseCXXInlineMethods.cpp362 while (Tok.getLocation() != origLoc && Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration()
426 while (Tok.getLocation() != origLoc && Tok.isNot(tok::eof)) in ParseLexedMethodDef()
437 while (Tok.getLocation() != origLoc && Tok.isNot(tok::eof)) in ParseLexedMethodDef()
457 while (Tok.getLocation() != origLoc && Tok.isNot(tok::eof)) in ParseLexedMethodDef()
523 if (Tok.isNot(tok::eof)) { in ParseLexedMemberInitializer()
531 while (Tok.isNot(tok::eof)) in ParseLexedMemberInitializer()
696 } else if (Tok.isNot(tok::l_brace)) { in ConsumeAndStoreFunctionPrologue()
709 if (Tok.isNot(tok::l_brace)) { in ConsumeAndStoreFunctionPrologue()
DParseExpr.cpp252 if (Tok.isNot(tok::colon)) { in ParseRHSOfBinaryExpression()
778 if (Tok.isNot(tok::identifier) && in ParseCastExpression()
946 if (Tok.isNot(tok::identifier)) in ParseCastExpression()
1046 if (Tok.isNot(tok::l_paren) && in ParseCastExpression()
1047 (!getLangOpts().CPlusPlus11 || Tok.isNot(tok::l_brace))) in ParseCastExpression()
1415 if (Tok.isNot(tok::r_paren)) { in ParsePostfixExpressionSuffix()
1426 } else if (Tok.isNot(tok::r_paren)) { in ParsePostfixExpressionSuffix()
1564 if (Tok.isNot(tok::l_paren)) { in ParseExprAfterUnaryExprOrTypeTrait()
1591 if (getLangOpts().CPlusPlus || OpTok.isNot(tok::kw_typeof)) { in ParseExprAfterUnaryExprOrTypeTrait()
1735 if (Tok.isNot(tok::l_paren)) in ParseBuiltinPrimaryExpression()
[all …]
/external/clang/lib/Lex/
DPragma.cpp180 if (Tok.isNot(tok::l_paren)) { in Handle_Pragma()
190 if (Tok.isNot(tok::r_paren)) in Handle_Pragma()
211 if (Tok.isNot(tok::r_paren)) { in Handle_Pragma()
303 if (Tok.isNot(tok::l_paren)) { in HandleMicrosoft__pragma()
312 while (Tok.isNot(tok::eof)) { in HandleMicrosoft__pragma()
385 if (Tok.isNot(tok::raw_identifier)) { in HandlePragmaPoison()
482 while (DependencyTok.isNot(tok::eod)) { in HandlePragmaDependency()
506 if (Tok.isNot(tok::l_paren)) { in HandlePragmaComment()
513 if (Tok.isNot(tok::identifier)) { in HandlePragmaComment()
541 if (Tok.isNot(tok::r_paren)) { in HandlePragmaComment()
[all …]
DMacroArgs.cpp105 for (; ArgPtr->isNot(tok::eof); ++ArgPtr) in getArgLength()
135 for (; ArgTok->isNot(tok::eof); ++ArgTok) in ArgNeedsPreexpansion()
176 } while (Result.back().isNot(tok::eof)); in getPreExpArgument()
210 for (; ArgToks->isNot(tok::eof); ++ArgToks) { in StringifyArgument()
307 if (StringifiedArgs[ArgNo].isNot(tok::string_literal)) in getStringifiedArgument()
DPPDirectives.cpp95 assert(Tmp.isNot(tok::eof) && "EOF seen while discarding directive tokens"); in DiscardUntilEndOfDirective()
96 } while (Tmp.isNot(tok::eod)); in DiscardUntilEndOfDirective()
184 if (Tmp.isNot(tok::eod)) { in CheckEndOfDirective()
253 if (Tok.isNot(tok::hash) || !Tok.isAtStartOfLine()) in SkipExcludedConditionalBlock()
268 if (Tok.isNot(tok::raw_identifier)) { in SkipExcludedConditionalBlock()
769 if (DigitTok.isNot(tok::numeric_constant)) { in GetLineValue()
772 if (DigitTok.isNot(tok::eod)) in GetLineValue()
851 else if (StrTok.isNot(tok::string_literal)) { in HandleLineDirective()
987 else if (StrTok.isNot(tok::string_literal)) { in HandleDigitDirective()
1073 if (StrTok.isNot(tok::string_literal) && in HandleIdentSCCSDirective()
[all …]
DPPMacroExpansion.cpp515 while (Tok.isNot(tok::r_paren)) { in ReadFunctionLikeMacroArgs()
995 if (Tok.isNot(tok::l_paren)) { in EvaluateHasIncludeCommon()
1059 if (Tok.isNot(tok::r_paren)) { in EvaluateHasIncludeCommon()
1117 if (Tok.isNot(tok::l_paren)) { in EvaluateBuildingModule()
1129 if (Tok.isNot(tok::identifier)) { in EvaluateBuildingModule()
1141 if (Tok.isNot(tok::r_paren)) { in EvaluateBuildingModule()
1345 if (Tok.isNot(tok::l_paren)) { in ExpandBuiltinMacro()
1356 while (Tok.isNot(tok::r_paren) && Tok.isNot(tok::eod) && in ExpandBuiltinMacro()
1357 Tok.isNot(tok::eof)) in ExpandBuiltinMacro()
/external/clang/lib/ARCMigrate/
DTransforms.cpp162 if (tok.isNot(tok::semi)) in findSemiAfterLocation()
408 if (tok.isNot(tok::at)) return false; in rewritePropertyAttribute()
410 if (tok.isNot(tok::raw_identifier)) return false; in rewritePropertyAttribute()
415 if (tok.isNot(tok::l_paren)) return false; in rewritePropertyAttribute()
427 if (tok.isNot(tok::raw_identifier)) return false; in rewritePropertyAttribute()
442 } while (tok.isNot(tok::comma) && tok.isNot(tok::r_paren)); in rewritePropertyAttribute()
450 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) { in rewritePropertyAttribute()
491 if (tok.isNot(tok::at)) return false; in addPropertyAttribute()
493 if (tok.isNot(tok::raw_identifier)) return false; in addPropertyAttribute()
499 if (tok.isNot(tok::l_paren)) { in addPropertyAttribute()
[all …]
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp787 if (getLexer().isNot(AsmToken::Dollar)) in ParseOperand()
854 if (Tok.isNot(AsmToken::Identifier)) in parseRelocOperand()
870 if (nextTok.isNot(AsmToken::Identifier)) in parseRelocOperand()
957 if (Tok.isNot(AsmToken::LParen)) { in parseMemOperand()
984 if (Tok2.isNot(AsmToken::RParen)) { in parseMemOperand()
1013 if (Parser.getTok().isNot(AsmToken::Dollar)) in parseCPU64Regs()
1030 if (Parser.getTok().isNot(AsmToken::Dollar)) in parseCPURegs()
1050 if (Parser.getTok().isNot(AsmToken::Dollar)) in parseHWRegs()
1056 if (Tok.isNot(AsmToken::Integer)) in parseHWRegs()
1079 if (Parser.getTok().isNot(AsmToken::Dollar)) in parseHW64Regs()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DCharMatcherTest.java23 import static com.google.common.base.CharMatcher.isNot;
101 doTestEmpty(isNot('a')); in testEmpty()
116 doTestNull(isNot('a')); in testNull()
165 doTestNoMatches(isNot('a'), "aaaa"); in testNoMatches()
193 doTestAllMatches(isNot('a'), "bcde"); in testAllMatches()
267 doTestGeneral(isNot('a'), 'b', 'a'); in testGeneral()
416 assertEquals(out, isNot('x').collapseFrom(in, '_')); in doTestCollapse()
432 assertEquals(inout, isNot('x').collapseFrom(inout, '_')); in doTestCollapseWithNoChange()
475 assertEquals(out, isNot('x').trimFrom(in)); in doTestTrimFrom()
510 assertEquals(out, isNot('x').trimLeadingFrom(in)); in doTestTrimLeadingFrom()
[all …]
/external/clang/lib/Rewrite/Frontend/
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()
/external/llvm/include/llvm/MC/MCParser/
DMCAsmLexer.h69 bool isNot(TokenKind K) const { return Kind != K; } in isNot() function
169 bool isNot(AsmToken::TokenKind K) const { return CurTok.isNot(K); } in isNot() function
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp577 if (Tok.isNot(AsmToken::Identifier)) { in ParseRegister()
610 if (getLexer().isNot(AsmToken::LParen)) in ParseRegister()
616 if (IntTok.isNot(AsmToken::Integer)) in ParseRegister()
630 if (getParser().Lex().isNot(AsmToken::RParen)) in ParseRegister()
904 if (getLexer().isNot(AsmToken::LBrac)) in ParseIntelBracExpression()
917 if (getLexer().isNot(AsmToken::RBrac)) in ParseIntelBracExpression()
1032 if (getLexer().isNot(AsmToken::Colon)) in ParseIntelMemOperand()
1035 if (getLexer().isNot(AsmToken::LBrac)) in ParseIntelMemOperand()
1238 if (getLexer().isNot(AsmToken::Colon)) in ParseIntelOperand()
1267 if (getLexer().isNot(AsmToken::Colon)) in ParseATTOperand()
[all …]
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp1190 if (Parser.getTok().isNot(AsmToken::Integer)) { in ParseNEONLane()
1208 if (Parser.getTok().isNot(AsmToken::RBrac)) { in ParseNEONLane()
1224 if (getLexer().isNot(AsmToken::Identifier)) { in ParseRelocPrefix()
1276 if (getLexer().isNot(AsmToken::Colon)) { in ParseRelocPrefix()
1290 if (Parser.getTok().isNot(AsmToken::Hash)) return MatchOperand_NoMatch; in ParseImmWithLSLOperand()
1298 else if (Parser.getTok().isNot(AsmToken::Comma)) { in ParseImmWithLSLOperand()
1315 if (Parser.getTok().isNot(AsmToken::Integer)) { in ParseImmWithLSLOperand()
1340 if (Parser.getTok().isNot(AsmToken::Identifier)) in ParseCondCodeOperand()
1361 if (Parser.getTok().isNot(AsmToken::Identifier)) { in ParseCRxOperand()
1395 if (Parser.getTok().isNot(AsmToken::Hash)) return MatchOperand_NoMatch; in ParseFPImmOperand()
[all …]
/external/clang/lib/Rewrite/Core/
DHTMLRewrite.cpp375 while (Tok.isNot(tok::eof)) { in SyntaxHighlight()
390 if (Tok.isNot(tok::identifier)) in SyntaxHighlight()
425 while (!Tok.isAtStartOfLine() && Tok.isNot(tok::eof)) { in SyntaxHighlight()
513 while (Tok.isNot(tok::eof)) { in HighlightMacros()
/external/clang/include/clang/Lex/
DToken.h89 bool isNot(tok::TokenKind K) const { return Kind != (unsigned) K; } in isNot() function
159 assert(isNot(tok::raw_identifier) && in getIdentifierInfo()

123