Closed yronglin closed 3 months ago
@llvm/issue-subscribers-clang-frontend
Author: None (yronglin)
@tbaederr I've debug locally. For b.a.f == 100
, the result clang::APValue::isStruct()
returns true, IIUC, it's incorrect?
Sounds incorrect, yes
Does this fail in the test suite anywhere? It's just the one from records.cpp
, isn't it?
Does this fail in the test suite anywhere? It's just the one from
records.cpp
, isn't it?
Yeah, but there have bit difference, in constexpr B b = B{};
b
has an initializer.
I have a PR(https://github.com/llvm/llvm-project/pull/97308) that causes the same failure in record.cpp
.
For that PR, feel free to just comment out the problematic test.
https://godbolt.org/z/vn5ss3njh