[Lldb-commits] [lldb] ee63f28 - [lldb-dap] Minor cleanup.
Zequan Wu via lldb-commits
lldb-commits at lists.llvm.org
Thu May 2 11:22:10 PDT 2024
Author: Zequan Wu
Date: 2024-05-02T14:22:03-04:00
New Revision: ee63f287e013ab3424372034d4d5a95512ab5b6b
URL: https://github.com/llvm/llvm-project/commit/ee63f287e013ab3424372034d4d5a95512ab5b6b
DIFF: https://github.com/llvm/llvm-project/commit/ee63f287e013ab3424372034d4d5a95512ab5b6b.diff
LOG: [lldb-dap] Minor cleanup.
Fix #85974.
Added:
Modified:
lldb/tools/lldb-dap/JSONUtils.cpp
Removed:
################################################################################
diff --git a/lldb/tools/lldb-dap/JSONUtils.cpp b/lldb/tools/lldb-dap/JSONUtils.cpp
index b4a2718bbb096e..788c1bc843db33 100644
--- a/lldb/tools/lldb-dap/JSONUtils.cpp
+++ b/lldb/tools/lldb-dap/JSONUtils.cpp
@@ -137,8 +137,7 @@ std::vector<std::string> GetStrings(const llvm::json::Object *obj,
static bool IsClassStructOrUnionType(lldb::SBType t) {
return (t.GetTypeClass() & (lldb::eTypeClassUnion | lldb::eTypeClassStruct |
- lldb::eTypeClassUnion | lldb::eTypeClassArray)) !=
- 0;
+ lldb::eTypeClassArray)) != 0;
}
/// Create a short summary for a container that contains the summary of its
More information about the lldb-commits
mailing list