[clang] [clang][PAC] add support for options parameter to __ptrauth (PR #136828)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 1 02:11:23 PDT 2026


================
@@ -320,6 +321,19 @@ class Parser : public CodeCompletionHandler {
     return PP.LookAhead(N - 1);
   }
 
+  template <class... TokT> bool NextTokenIsStringLiteral(TokT... FollowSet) {
+    static_assert(sizeof...(TokT) > 0, "Follow set cnanot be empty");
----------------
cor3ntin wrote:

```suggestion
    static_assert(sizeof...(TokT) > 0, "Follow set cannot be empty");
```

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


More information about the cfe-commits mailing list