mikaelholmen wrote:

> We're seeing a crash with this patch when compiling with -Weverything.
> 
> ```
> clang: ../../clang/include/clang/AST/Expr.h:3026: const clang::Expr 
> *clang::CallExpr::getArg(unsigned int) const: Assertion `Arg < getNumArgs() 
> && "Arg access out of range!"' failed.
> ```
> 
> I'm working on extracting a reproducer.

```clang -c -Weverything bbi-98867.c```
with bbi-98867.c being just
```
void printf() { printf(); }
```
(I've creduced the reproducer, I can't share the full one)

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

Reply via email to