File tree Expand file tree Collapse file tree 3 files changed +89
-89
lines changed Expand file tree Collapse file tree 3 files changed +89
-89
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public protocol IRType {
1111
1212public extension IRType {
1313 /// Returns the special `null` value for this type.
14- public func null( ) -> IRConstant {
14+ func null( ) -> IRConstant {
1515 return Constant < Struct > ( llvm: LLVMConstNull ( asLLVM ( ) ) )
1616 }
1717
@@ -20,18 +20,18 @@ public extension IRType {
2020 /// The `undef` value can be used anywhere a constant is expected, and
2121 /// indicates that the user of the value may receive an unspecified
2222 /// bit-pattern.
23- public func undef( ) -> IRValue {
23+ func undef( ) -> IRValue {
2424 return LLVMGetUndef ( asLLVM ( ) )
2525 }
2626
2727 /// Returns the special LLVM constant `null` pointer value for this type
2828 /// initialized to `null`.
29- public func constPointerNull( ) -> IRConstant {
29+ func constPointerNull( ) -> IRConstant {
3030 return Constant < Struct > ( llvm: LLVMConstPointerNull ( asLLVM ( ) ) )
3131 }
3232
3333 /// Returns the context associated with this type
34- public var context : Context {
34+ var context : Context {
3535 return Context ( llvm: LLVMGetTypeContext ( asLLVM ( ) ) )
3636 }
3737}
You can’t perform that action at this time.
0 commit comments