Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jroesch committed Oct 23, 2018
1 parent 1660b31 commit d55cc31
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/relay/pass/type_infer.cc
Original file line number Diff line number Diff line change
@@ -62,10 +62,14 @@ TVM_REGISTER_API("tvm.relay.type_relation.TupleGetItem")
TupleGetItemRel);

struct ResolvedTypeInfo {
explicit ResolvedTypeInfo(Type checked_type) : checked_type(checked_type), type_args() {}
explicit ResolvedTypeInfo(Type checked_type, Array<Type> type_args) : checked_type(checked_type), type_args() {}
explicit ResolvedTypeInfo(Array<Type> type_args) : checked_type(), type_args(type_args) {}
ResolvedTypeInfo(const ResolvedTypeInfo& rti) : checked_type(rti.checked_type), type_args(rti.type_args) {}
explicit ResolvedTypeInfo(Type checked_type)
: checked_type(checked_type), type_args() {}
explicit ResolvedTypeInfo(Type checked_type, Array<Type> type_args)
: checked_type(checked_type), type_args() {}
explicit ResolvedTypeInfo(Array<Type> type_args)
: checked_type(), type_args(type_args) {}
ResolvedTypeInfo(const ResolvedTypeInfo& rti)
: checked_type(rti.checked_type), type_args(rti.type_args) {}
ResolvedTypeInfo() : checked_type(), type_args() {}

Type checked_type;

0 comments on commit d55cc31

Please sign in to comment.