[clang] [clang][CompundLiteralExpr] Don't defer evaluation for CLEs (PR #137163)
David Stenberg via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 8 09:46:02 PDT 2025
dstenb wrote:
Hi, @kadircet!
This commit broke one of our downstream tests where we mount the repository as read-only, as the `static-compound-literals-crash.cpp` test attempts to write the output to the test source directory:
```
(frontend): unable to open output file '/path/to/repo/clang/test/AST/static-compound-literals-crash.ll': 'Read-only file system'
```
It looks like the `RUN` line is missing `-o` or a redirection:
```
RUN: not --crash %clang_cc1 -verify -std=c++20 -emit-llvm %s
```
https://github.com/llvm/llvm-project/pull/137163
More information about the cfe-commits
mailing list