[clang] [clang] Improved isSimpleTypeSpecifier (PR #79037)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 26 18:55:41 PST 2024


================
@@ -2636,7 +2636,7 @@ class Sema final {
 
   void DiagnoseUseOfUnimplementedSelectors();
 
-  bool isSimpleTypeSpecifier(tok::TokenKind Kind) const;
+  bool isSimpleTypeSpecifier(Token &Tok) const;
----------------
owenca wrote:

```suggestion
  bool isSimpleTypeSpecifier(const Token &Tok) const;
```

https://github.com/llvm/llvm-project/pull/79037


More information about the cfe-commits mailing list