17
17
#define SWIFT_RUNTIME_RUNTIMEFNWRAPPERSGEN_H
18
18
19
19
#include " swift/SIL/RuntimeEffect.h"
20
- #include " llvm/IR/Module.h"
21
20
#include " llvm/ADT/ArrayRef.h"
21
+ #include " llvm/IR/Module.h"
22
22
23
23
namespace swift {
24
-
24
+
25
25
class AvailabilityContext ;
26
26
class ASTContext ;
27
27
@@ -34,14 +34,12 @@ enum class RuntimeAvailability {
34
34
// / Generate an llvm declaration for a runtime entry with a
35
35
// / given name, return types, argument types, attributes and
36
36
// / a calling convention.
37
- llvm::Constant *getRuntimeFn (llvm::Module &Module,
38
- llvm::Constant *&cache,
39
- char const *name,
40
- llvm::CallingConv::ID cc,
41
- RuntimeAvailability availability,
42
- llvm::ArrayRef<llvm::Type*> retTypes,
43
- llvm::ArrayRef<llvm::Type*> argTypes,
44
- llvm::ArrayRef<llvm::Attribute::AttrKind> attrs);
37
+ llvm::Constant *getRuntimeFn (llvm::Module &Module, llvm::Constant *&cache,
38
+ char const *name, llvm::CallingConv::ID cc,
39
+ RuntimeAvailability availability,
40
+ llvm::ArrayRef<llvm::Type *> retTypes,
41
+ llvm::ArrayRef<llvm::Type *> argTypes,
42
+ llvm::ArrayRef<llvm::Attribute::AttrKind> attrs);
45
43
46
- } /* Namespace swift */
44
+ } // namespace swift
47
45
#endif
0 commit comments