zturner added a comment.

You could use llvm's range adapters to make this slightly better.

  auto Bytes = makeArrayRef(m_uuid, m_num_uuid_bytes);
  return llvm::find(Bytes, 0) != Bytes.end();

Another option would just be `return *this != UUID(m_num_uuid_bytes);`


https://reviews.llvm.org/D40537



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to