diff options
| author | Pavel Skripkin <paskripkin@gmail.com> | 2024-07-29 19:43:50 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-29 18:43:50 +0200 |
| commit | 150bf637baad2ba4df6369600b65d897ed9b31a7 (patch) | |
| tree | 84938c15bfb583e6fd5a4150b10ca7f8f8b903b5 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | ee57ce57d8094026e2795182758bc57027a72293 (diff) | |
[Clang][Sema] Disallow applying `onwership_returns` to functions that return non-pointers (#99564)
`onwership_returns` works only with pointers, since it models
user-defined memory allocation functions. Make semantics more clear and
report an error if attribute is attached to wrong function.
Closes #99501
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
