diff options
| author | Jan Svoboda <jan_svoboda@apple.com> | 2022-01-20 15:07:39 +0100 |
|---|---|---|
| committer | Jan Svoboda <jan_svoboda@apple.com> | 2022-01-20 15:48:02 +0100 |
| commit | 9011903e3613af360c3a1d05c106e464538efd08 (patch) | |
| tree | 432d66716dfbde0e55ca4af334bfd95ce484631a /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 9e24d14ac89f44bb6c9141561ca849ccdd09e6a8 (diff) | |
[llvm][vfs] Abstract in-memory node creation
The creation of in-memory VFS nodes happens in a single function that deduces what kind of node to create from the arguments. This leads to complicated if-then-else logic that's difficult to cleanly extend.
This patch abstracts away in-memory node creation via a type-erased factory function that's passed instead.
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D117648
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
