Switch lexer/pp over to new Token::is/isNot api


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42799 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Lex/LiteralSupport.cpp b/Lex/LiteralSupport.cpp
index ae4c1a8..90a05f6 100644
--- a/Lex/LiteralSupport.cpp
+++ b/Lex/LiteralSupport.cpp
@@ -549,7 +549,7 @@
   // literal, the result is a wide-string literal [C99 6.4.5p4].
   MaxTokenLength = StringToks[0].getLength();
   SizeBound = StringToks[0].getLength()-2;  // -2 for "".
-  AnyWide = StringToks[0].getKind() == tok::wide_string_literal;
+  AnyWide = StringToks[0].is(tok::wide_string_literal);
   
   hadError = false;
 
@@ -565,7 +565,7 @@
       MaxTokenLength = StringToks[i].getLength();
     
     // Remember if we see any wide strings.
-    AnyWide |= StringToks[i].getKind() == tok::wide_string_literal;
+    AnyWide |= StringToks[i].is(tok::wide_string_literal);
   }