[Lldb-commits] [PATCH] D64777: Fix CreateFunctionTemplateSpecialization to prevent dangling poiner to stack memory

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 16 04:42:39 PDT 2019


labath added inline comments.


================
Comment at: packages/Python/lldbsuite/test/expression_command/function_template_specialization_temp_args/main.cpp:1
+template <typename T>
+struct M {};
----------------
teemperor wrote:
> JDevlieghere wrote:
> > Clang format?
> Pretty sure that file is clang-formatted (at least my clang-format doesn't modify this file)
We have a .clang-format file for the test directory which effectively disables clang-formatting. So depending on how you run clang-format, the invocation might be completely ignored.

The .clang-format was put there before the Great Reformat to avoid it messing with the line numbers in tests. Maybe the time has come to do something about it...


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64777/new/

https://reviews.llvm.org/D64777





More information about the lldb-commits mailing list