Skip to content

Commit ee63f28

Browse files
committed
[lldb-dap] Minor cleanup.
Fix #85974.
1 parent c7209cb commit ee63f28

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lldb/tools/lldb-dap/JSONUtils.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ std::vector<std::string> GetStrings(const llvm::json::Object *obj,
137137

138138
static bool IsClassStructOrUnionType(lldb::SBType t) {
139139
return (t.GetTypeClass() & (lldb::eTypeClassUnion | lldb::eTypeClassStruct |
140-
lldb::eTypeClassUnion | lldb::eTypeClassArray)) !=
141-
0;
140+
lldb::eTypeClassArray)) != 0;
142141
}
143142

144143
/// Create a short summary for a container that contains the summary of its

0 commit comments

Comments
 (0)