summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2023-06-15 07:43:31 -0400
committerAaron Ballman <aaron@aaronballman.com>2023-06-15 07:43:31 -0400
commit0f6110a4a4250f3d684e166b2d3279fbe4a1f239 (patch)
tree65eb420ddb5b8c2df5611ad6fcfb507bcca58511 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
parent976d8b40cccf4678fe8c414210ce82170049b715 (diff)
No longer diagnose (functionally) empty structures under -Wuninitialized
An empty structure in C has no way to be initialized, so triggering a -Wuninitialized warning for a variable of empty structure type is not actionable for users. This silences the false positive warning, which matches the behavior of GCC as well. We no longer diagnose if the structure has no members, or has only zero-sized members (unnamed bit-fields, zero-sized bit-fields, empty structure types). Fixes: https://github.com/llvm/llvm-project/issues/26842
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions