summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorPaul Kirth <paulkirth@google.com>2025-03-24 17:23:25 -0700
committerGitHub <noreply@github.com>2025-03-24 17:23:25 -0700
commitece59a8cb9c82227ccd304b1cd26a2c216ddb13e (patch)
tree126bca65df049f8cdd5626bd3e462bd9be861edc /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent25bf4e262c73444a29e84642ddc409806638fb4f (diff)
Reland Support for mustache templating language (#132467)
The last version of this patch had memory leaks due to using the BumpPtrAllocator for data types that required destructors to run to release heap memory (e.g. via std::vector and std::string). This version avoids that by using smart pointers, and dropping support for BumpPtrAllocator. We should refactor this code to use the BumpPtrAllocator again, but that can be addressed in future patches, since those are more invasive changes that need to refactor many of the core data types to avoid owning allocations. Adds Support for the Mustache Templating Language. See specs here: https://mustache.github.io/mustache.5.html This patch implements support+tests for majority of the features of the language including: - Variables - Comments - Lambdas - Sections This meant as a library to support places where we have to generate HTML, such as in clang-doc. Co-authored-by: Peter Chou <peter.chou@mail.utoronto.ca>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions