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 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