Fix formatting.
This commit is contained in:
parent
7d3f0cb37f
commit
6d17d58307
@ -302,8 +302,8 @@ class TlWriterCCommon final : public tl::TL_writer {
|
||||
class_name + ", struct TdVector" + class_name + " *);\n";
|
||||
}
|
||||
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const tl::tl_tree *result) const final {
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name, bool is_proxy,
|
||||
const tl::tl_tree *result) const final {
|
||||
if (is_header_ != 1 || class_name == "") {
|
||||
return "";
|
||||
}
|
||||
|
@ -46,8 +46,8 @@ class TD_TL_writer_cpp : public TD_TL_writer {
|
||||
|
||||
std::string gen_forward_class_declaration(const std::string &class_name, bool is_proxy) const override;
|
||||
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const tl::tl_tree *result) const override;
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name, bool is_proxy,
|
||||
const tl::tl_tree *result) const override;
|
||||
std::string gen_class_end() const override;
|
||||
|
||||
std::string gen_class_alias(const std::string &class_name, const std::string &alias_name) const override;
|
||||
|
@ -200,8 +200,8 @@ class TlWriterDotNet final : public TL_writer {
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const tl::tl_tree *result) const final {
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name, bool is_proxy,
|
||||
const tl::tl_tree *result) const final {
|
||||
if (!is_header_) {
|
||||
return "";
|
||||
}
|
||||
|
@ -33,8 +33,8 @@ class TD_TL_writer_h : public TD_TL_writer {
|
||||
|
||||
std::string gen_forward_class_declaration(const std::string &class_name, bool is_proxy) const override;
|
||||
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const tl::tl_tree *result) const override;
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name, bool is_proxy,
|
||||
const tl::tl_tree *result) const override;
|
||||
std::string gen_class_end() const override;
|
||||
|
||||
std::string gen_class_alias(const std::string &class_name, const std::string &alias_name) const override;
|
||||
|
@ -33,8 +33,8 @@ class TD_TL_writer_hpp final : public TD_TL_writer {
|
||||
|
||||
std::string gen_forward_class_declaration(const std::string &class_name, bool is_proxy) const final;
|
||||
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const tl::tl_tree *result) const final;
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name, bool is_proxy,
|
||||
const tl::tl_tree *result) const final;
|
||||
std::string gen_class_end() const final;
|
||||
|
||||
std::string gen_class_alias(const std::string &class_name, const std::string &alias_name) const final;
|
||||
|
@ -58,8 +58,8 @@ class TD_TL_writer_java final : public tl::TL_writer {
|
||||
|
||||
std::string gen_forward_class_declaration(const std::string &class_name, bool is_proxy) const final;
|
||||
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const tl::tl_tree *result) const final;
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name, bool is_proxy,
|
||||
const tl::tl_tree *result) const final;
|
||||
std::string gen_class_end() const final;
|
||||
|
||||
std::string gen_class_alias(const std::string &class_name, const std::string &alias_name) const final;
|
||||
|
@ -54,8 +54,8 @@ class TD_TL_writer_jni_cpp final : public TD_TL_writer_cpp {
|
||||
std::string gen_base_type_class_name(int arity) const final;
|
||||
std::string gen_base_tl_class_name() const final;
|
||||
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const tl::tl_tree *result) const final;
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name, bool is_proxy,
|
||||
const tl::tl_tree *result) const final;
|
||||
|
||||
std::string gen_field_definition(const std::string &class_name, const std::string &type_name,
|
||||
const std::string &field_name) const final;
|
||||
|
@ -34,8 +34,8 @@ class TD_TL_writer_jni_h final : public TD_TL_writer_h {
|
||||
|
||||
std::string gen_output_begin() const final;
|
||||
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const tl::tl_tree *result) const final;
|
||||
std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name, bool is_proxy,
|
||||
const tl::tl_tree *result) const final;
|
||||
|
||||
std::string gen_field_definition(const std::string &class_name, const std::string &type_name,
|
||||
const std::string &field_name) const final;
|
||||
|
@ -303,7 +303,8 @@ void Scheduler::register_migrated_actor(ActorInfo *actor_info) {
|
||||
<< tag("actor_count", actor_count_);
|
||||
actor_count_++;
|
||||
LOG_CHECK(actor_info->is_migrating()) << *actor_info << ' ' << actor_count_ << ' ' << sched_id_ << ' '
|
||||
<< actor_info->migrate_dest() << ' ' << actor_info->is_running() << ' ' << close_flag_;
|
||||
<< actor_info->migrate_dest() << ' ' << actor_info->is_running() << ' '
|
||||
<< close_flag_;
|
||||
CHECK(sched_id_ == actor_info->migrate_dest());
|
||||
// CHECK(!actor_info->is_running());
|
||||
actor_info->finish_migrate();
|
||||
|
@ -88,8 +88,8 @@ class TL_writer {
|
||||
|
||||
virtual std::string gen_forward_class_declaration(const std::string &class_name, bool is_proxy) const = 0;
|
||||
|
||||
virtual std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name,
|
||||
bool is_proxy, const tl_tree *result) const = 0;
|
||||
virtual std::string gen_class_begin(const std::string &class_name, const std::string &base_class_name, bool is_proxy,
|
||||
const tl_tree *result) const = 0;
|
||||
virtual std::string gen_class_end() const = 0;
|
||||
|
||||
virtual std::string gen_class_alias(const std::string &class_name, const std::string &alias_name) const = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user