@@ -58,7 +58,7 @@ public class Context: ContextRef {
5858
5959 /// Retrieve whether the given context is set to discard all value names.
6060 public func shouldDiscardValueNames( ) -> Bool {
61- return LLVMContextShouldDiscardValueNames ( llvm) != 0
61+ LLVMContextShouldDiscardValueNames ( llvm) != 0
6262 }
6363
6464 /// Set whether the given context discards all value names.
@@ -76,7 +76,7 @@ public class Context: ContextRef {
7676 public var discardValueNames : Bool {
7777 get {
7878 // Retrieve whether the given context is set to discard all value names.
79- return shouldDiscardValueNames ( )
79+ shouldDiscardValueNames ( )
8080 }
8181 set {
8282 // Set whether the given context discards all value names.
@@ -204,17 +204,17 @@ public class Context: ContextRef {
204204
205205 /// Check for the types of attributes.
206206 public static func isEnumAttribute( attributeRef: AttributeRef ) -> Bool {
207- return LLVMIsEnumAttribute ( attributeRef. attributeRef) != 0
207+ LLVMIsEnumAttribute ( attributeRef. attributeRef) != 0
208208 }
209209
210210 /// Check for the types of attributes.
211211 public static func isStringAttribute( attributeRef: AttributeRef ) -> Bool {
212- return LLVMIsStringAttribute ( attributeRef. attributeRef) != 0
212+ LLVMIsStringAttribute ( attributeRef. attributeRef) != 0
213213 }
214214
215215 /// Check for the types of attributes.
216216 public static func isTypeAttribute( attributeRef: AttributeRef ) -> Bool {
217- return LLVMIsTypeAttribute ( attributeRef. attributeRef) != 0
217+ LLVMIsTypeAttribute ( attributeRef. attributeRef) != 0
218218 }
219219
220220 /// Obtain a Type from a context by its registered name.
0 commit comments