[all-commits] [llvm/llvm-project] c18891: [lldb][Test] Make TestFrameFormatNameWithArgs.test...
Michael137 via All-commits
all-commits at lists.llvm.org
Thu Nov 3 06:30:31 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c188910694ab821aabc0ca11f4636b69f5f7b4f1
https://github.com/llvm/llvm-project/commit/c188910694ab821aabc0ca11f4636b69f5f7b4f1
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2022-11-03 (Thu, 03 Nov 2022)
Changed paths:
M lldb/test/Shell/Settings/Inputs/names.cpp
M lldb/test/Shell/Settings/TestFrameFormatNameWithArgs.test
Log Message:
-----------
[lldb][Test] Make TestFrameFormatNameWithArgs.test more compatible across platforms
On Linux the `std::function` behaved differently to that on Darwin.
This patch removes usage of `std::function` in the test but attempts
to retain the test-coverage. We mainly want function types appearing
in the template argument and function argument lists.
Also add a `char const*` overload to one of the test functions to
cover the "format function argument using ValueObject formatter" code-path.
Differential Revision: https://reviews.llvm.org/D137272
More information about the All-commits
mailing list