diff options
author | higher-performance <higher.performance.github@gmail.com> | 2025-01-30 15:34:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-30 15:34:08 -0500 |
commit | 20fd7df0b847bb46aac2f0b5b71d242220027cbc (patch) | |
tree | 4b82b5a63d48b7d0528ac232fb3c35ca42cb8981 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 72efe15c2bf262607420f81ab3b3b52f82698b4b (diff) | |
download | llvm-20fd7df0b847bb46aac2f0b5b71d242220027cbc.zip llvm-20fd7df0b847bb46aac2f0b5b71d242220027cbc.tar.gz llvm-20fd7df0b847bb46aac2f0b5b71d242220027cbc.tar.bz2 |
Fix false negative when value initializing a field annotated with [[clang::require_field_initialization]] (#124329)
It turns out we weren't handling one case: the value-initialization of a
field inside a struct.
I'm not sure why this falls under `IK_Direct` rather than `IK_Value` in
Clang, but it seems to work.
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions