a-tarasyuk wrote:

@zyn0217 Thanks for the detailed feedback. I considered handling it earlier and 
skipping the validation of the closing parenthesis, but I was concerned the 
message `"expected ';' after 'static_assert'"` might not be accurate in this 
case., I assumed `""` is a valid string, even if the next token is invalid - it 
doesn't make this string itself invalid. 

```cpp
static_assert(true, ""  // expected ';' after 'static_assert'
                        // expected ')'
                        // to match this '('


```
 

https://github.com/llvm/llvm-project/pull/108701
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to