Issue 165981
Summary __builtin_verbose_trap with empty string arguments so be treated as an error
Labels new issue
Assignees delcypher
Reporter delcypher
    Clang currently accepts this:

```
void test(void) {
 __builtin_verbose_trap("","");
}
```

Clang's sema should not accept this as it doesn't make any sense to have both the category and message parameters be empty.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to