summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2024-08-23 15:43:39 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2024-08-23 15:43:43 +0800
commit39986f0b4d797e4ad3c12607f2b4abe2322b82bb (patch)
tree13c0d111cc13346f15edb02150edc0217417dcf9 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parente5f196e4e7e3aec5c19adeacb7191ed0a099ea9a (diff)
[NFCI] [Serialization] Use demoteThisDefinitionToDeclaration instead of setCompleteDefinition(false) for CXXRecordDecl
When we merge the definition for CXXRecordDecl, we would use setCompleteDefinition(false) to mark the merged definition. But this was not the correct/good interface. We can't know that the merged definition was a definition then. And actually, we provided an interface for this: demoteThisDefinitionToDeclaration. So this patch tries to use the correct API. This was found in the downstream developing. This is not strictly NFC but it is intended to be NFC for every end users.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions