yronglin wrote:

> Heads up. This causes clang to crash on some code. I'm running creduce to 
> reduce the cpp source file.
> 
> ```
> clang: 
> /usr/local/google/home/zequanwu/workspace/llvm/clang/lib/Sema/SemaDecl.cpp:16509:
>  Decl *clang::Sema::ActOnFinishFunctionBody(Decl *, Stmt *, bool): Assertion 
> `!Cleanup.exprNeedsCleanups() && "Unaccounted cleanups in function"' failed.
> ```

Thanks report this, nice and small reproducer would definitely help resolving 
this.

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

Reply via email to