[Lldb-commits] [PATCH] D64777: Fix CreateFunctionTemplateSpecialization to prevent dangling poiner to stack memory
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 15 16:52:32 PDT 2019
JDevlieghere added inline comments.
================
Comment at: packages/Python/lldbsuite/test/expression_command/function_template_specialization_temp_args/main.cpp:1
+template <typename T>
+struct M {};
----------------
Clang format?
================
Comment at: source/Symbol/ClangASTContext.cpp:1619
+ TemplateArgumentList *template_args_ptr =
+ TemplateArgumentList::CreateCopy(func_decl->getASTContext(), infos.args);
----------------
Out of curiosity, who does the cleanup of this pointer?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64777/new/
https://reviews.llvm.org/D64777
More information about the lldb-commits
mailing list