summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
diff options
context:
space:
mode:
authorShafik Yaghmour <shafik.yaghmour@intel.com>2023-05-08 11:13:08 -0700
committerShafik Yaghmour <shafik.yaghmour@intel.com>2023-05-08 11:14:33 -0700
commit96bc78631f16fe5ce2e7e6000b74d790b32f7a16 (patch)
tree5bac08570586a9f015b5cd383adc7bca44c5f8fa /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
parent0dec49cb3466c7fe116030a568be423c6aa5bdf3 (diff)
[Clang] Update warning on some designator initializer cases involving unions
Currently when using designated initializers in C++ we have a few extension. Two extension which are dangerous involved assigning to multiple members of union which will likely be a mistake since unions can only have one active member. I have updated to be a warning by default. The second case if when we assign to multiple union members and one of the previous members had a non-trivial destructor, which could lead to leaking resources. This one is now an error by default. Fixes: https://github.com/llvm/llvm-project/issues/62156 Differential Revision: https://reviews.llvm.org/D149694
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions