diff options
-rw-r--r-- | builder/esp.go | 2 | ||||
-rw-r--r-- | compiler/calls.go | 2 | ||||
-rw-r--r-- | compiler/interface.go | 2 | ||||
-rw-r--r-- | compiler/symbol.go | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/builder/esp.go b/builder/esp.go index e349c964e..357fa8232 100644 --- a/builder/esp.go +++ b/builder/esp.go @@ -23,7 +23,7 @@ type espImageSegment struct { data []byte } -// makeESPFirmare converts an input ELF file to an image file for an ESP32 or +// makeESPFirmareImage converts an input ELF file to an image file for an ESP32 or // ESP8266 chip. This is a special purpose image format just for the ESP chip // family, and is parsed by the on-chip mask ROM bootloader. // diff --git a/compiler/calls.go b/compiler/calls.go index b122f0c8d..65a69fea3 100644 --- a/compiler/calls.go +++ b/compiler/calls.go @@ -229,7 +229,7 @@ func extractSubfield(t types.Type, field int) types.Type { } } -// flattenAggregateTypeOffset returns the offsets from the start of an object of +// flattenAggregateTypeOffsets returns the offsets from the start of an object of // type t if this object were flattened like in flattenAggregate. Used together // with flattenAggregate to know the start indices of each value in the // non-flattened object. diff --git a/compiler/interface.go b/compiler/interface.go index dd181c546..9e3e0a674 100644 --- a/compiler/interface.go +++ b/compiler/interface.go @@ -724,7 +724,7 @@ func (c *compilerContext) getMethodsString(itf *types.Interface) string { return strings.Join(methods, "; ") } -// getInterfaceImplementsfunc returns a declared function that works as a type +// getInterfaceImplementsFunc returns a declared function that works as a type // switch. The interface lowering pass will define this function. func (c *compilerContext) getInterfaceImplementsFunc(assertedType types.Type) llvm.Value { s, _ := getTypeCodeName(assertedType.Underlying()) diff --git a/compiler/symbol.go b/compiler/symbol.go index 6e66c2bfd..de7838173 100644 --- a/compiler/symbol.go +++ b/compiler/symbol.go @@ -417,7 +417,7 @@ func (c *compilerContext) addStandardDefinedAttributes(llvmFn llvm.Value) { } } -// addStandardAttribute adds all attributes added to defined functions. +// addStandardAttributes adds all attributes added to defined functions. func (c *compilerContext) addStandardAttributes(llvmFn llvm.Value) { c.addStandardDeclaredAttributes(llvmFn) c.addStandardDefinedAttributes(llvmFn) |