================ @@ -196,6 +196,13 @@ class Token { PtrData = (void*) II; } + bool hasIdentifierInfo() { + if (is(tok::raw_identifier) || isAnnotation() || isLiteral() || + is(tok::eof)) + return false; + return true; + } + ---------------- owenca wrote:
IMO we don't need this. https://github.com/llvm/llvm-project/pull/79037 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits