convert driver over to use Token::is/isNot APIs.  fwew, all done.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42800 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/DiagChecker.cpp b/Driver/DiagChecker.cpp
index e73bed6..3e276d7 100644
--- a/Driver/DiagChecker.cpp
+++ b/Driver/DiagChecker.cpp
@@ -104,7 +104,7 @@
   do {
     PP.Lex(Tok);
 
-    if (Tok.getKind() == tok::comment) {
+    if (Tok.is(tok::comment)) {
       std::string Comment = PP.getSpelling(Tok);
 
       // Find all expected errors
@@ -115,7 +115,7 @@
       FindDiagnostics(Comment, ExpectedWarnings, PP.getSourceManager(),
                       Tok.getLocation(), ExpectedWarnStr);
     }
-  } while (Tok.getKind() != tok::eof);
+  } while (Tok.isNot(tok::eof));
 
   PP.SetCommentRetentionState(false, false);
 }