Skip to content

Commit

Permalink
irgen: Add doc comment to toIrType.
Browse files Browse the repository at this point in the history
  • Loading branch information
mewmew committed Jun 18, 2016
1 parent 698b24e commit b2b6255
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions irgen/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ func (m *Module) typeOf(expr ast.Expr) irtypes.Type {
panic(fmt.Sprintf("unable to locate type for expression %v", expr))
}

// toIrType converts the given uC type to the corresponding LLVM IR type.
func toIrType(n uctypes.Type) irtypes.Type {
//TODO: implement, placeholder implementation
var t irtypes.Type
Expand Down

0 comments on commit b2b6255

Please sign in to comment.