[Lldb-commits] [lldb] [lldb] Refactor TypeQuery::ContextMatches, take 2 (PR #101333)

via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 31 07:00:59 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff d8b985c9490664f7ec923e59cf6c603d998179ae e87b2b24cd673584aabd00eaf6ad8fc4c0c52c98 --extensions cpp,h,c -- lldb/include/lldb/Symbol/Type.h lldb/include/lldb/lldb-private-enumerations.h lldb/source/Symbol/Type.cpp lldb/test/Shell/SymbolFile/DWARF/clang-gmodules-type-lookup.c lldb/tools/lldb-test/lldb-test.cpp lldb/unittests/Symbol/TestType.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/unittests/Symbol/TestType.cpp b/lldb/unittests/Symbol/TestType.cpp
index 438f141ff3..e4b56b9ff0 100644
--- a/lldb/unittests/Symbol/TestType.cpp
+++ b/lldb/unittests/Symbol/TestType.cpp
@@ -94,7 +94,8 @@ TEST(Type, CompilerContextPattern) {
       MatchesIgnoringModules(std::vector{make_module("B"), make_class("C")}));
   EXPECT_THAT(
       (std::vector{make_module("A"), make_module("B"), make_class("C")}),
-      Not(MatchesIgnoringModules(std::vector{make_module("A"), make_class("C")})));
+      Not(MatchesIgnoringModules(
+          std::vector{make_module("A"), make_class("C")})));
   EXPECT_THAT((std::vector{make_module("A"), make_module("B"), make_enum("C")}),
               Matches(std::vector{make_module("A"), make_module("B"),
                                   make_any_type("C")}));

``````````

</details>


https://github.com/llvm/llvm-project/pull/101333


More information about the lldb-commits mailing list