================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to