use isNot instead of !is
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69522 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/clang-cc/CacheTokens.cpp b/tools/clang-cc/CacheTokens.cpp
index 88f2938..6e2a20d 100644
--- a/tools/clang-cc/CacheTokens.cpp
+++ b/tools/clang-cc/CacheTokens.cpp
@@ -479,7 +479,7 @@
assert(!Tok.isAtStartOfLine());
// Did we see 'include'/'import'/'include_next'?
- if (!Tok.is(tok::identifier)) {
+ if (Tok.isNot(tok::identifier)) {
EmitToken(Tok);
continue;
}
@@ -535,8 +535,9 @@
// Some files have gibberish on the same line as '#endif'.
// Discard these tokens.
- do L.LexFromRawLexer(Tok); while (!Tok.is(tok::eof) &&
- !Tok.isAtStartOfLine());
+ do
+ L.LexFromRawLexer(Tok);
+ while (Tok.isNot(tok::eof) && !Tok.isAtStartOfLine());
// We have the next token in hand.
// Don't immediately lex the next one.
goto NextToken;