1717#define SWIFT_RUNTIME_RUNTIMEFNWRAPPERSGEN_H
1818
1919#include " swift/SIL/RuntimeEffect.h"
20- #include " llvm/IR/Module.h"
2120#include " llvm/ADT/ArrayRef.h"
21+ #include " llvm/IR/Module.h"
2222
2323namespace swift {
24-
24+
2525class AvailabilityContext ;
2626class ASTContext ;
2727
@@ -34,14 +34,12 @@ enum class RuntimeAvailability {
3434// / Generate an llvm declaration for a runtime entry with a
3535// / given name, return types, argument types, attributes and
3636// / 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);
4543
46- } /* Namespace swift */
44+ } // namespace swift
4745#endif
0 commit comments