[Lldb-commits] [lldb] Add a new SBExpressionOptions::SetLanguage() API (NFCI) (PR #89981)

via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 24 13:00:17 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 9e9595183001991a7d31d8880c4a2b33594ca30f 7e63653359ee0cfe251091017a4265aaea3770e3 -- lldb/include/lldb/API/SBExpressionOptions.h lldb/include/lldb/Expression/Expression.h lldb/include/lldb/Expression/LLVMUserExpression.h lldb/include/lldb/Expression/UserExpression.h lldb/include/lldb/Symbol/TypeSystem.h lldb/include/lldb/Target/StackFrame.h lldb/include/lldb/Target/Target.h lldb/include/lldb/lldb-private-types.h lldb/source/API/SBExpressionOptions.cpp lldb/source/API/SBFrame.cpp lldb/source/Breakpoint/Watchpoint.cpp lldb/source/Commands/CommandObjectDWIMPrint.cpp lldb/source/Commands/CommandObjectType.cpp lldb/source/Expression/LLVMUserExpression.cpp lldb/source/Expression/UserExpression.cpp lldb/source/Expression/UtilityFunction.cpp lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h lldb/source/Target/Language.cpp lldb/source/Target/StackFrame.cpp lldb/source/Target/Target.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Target/Language.cpp b/lldb/source/Target/Language.cpp
index 3d7bae0b82..d0bffe441f 100644
--- a/lldb/source/Target/Language.cpp
+++ b/lldb/source/Target/Language.cpp
@@ -19,8 +19,8 @@
 #include "lldb/Target/Target.h"
 #include "lldb/Utility/Stream.h"
 
-#include "llvm/Support/Threading.h"
 #include "llvm/BinaryFormat/Dwarf.h"
+#include "llvm/Support/Threading.h"
 
 using namespace lldb;
 using namespace lldb_private;

``````````

</details>


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


More information about the lldb-commits mailing list