[clang] [clang][Sema] Warn on return of pointer/reference to compound literal (PR #83741)

Youngsuk Kim via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 3 12:23:37 PST 2024


JOE1994 wrote:

> Isn't this warning a duplicate of what is already here?

The diganostic warning is not emitted when `clang` is run without the `-analyze` flag.

https://github.com/llvm/llvm-project/pull/83741


More information about the cfe-commits mailing list