Skip to content

Commit c1b97a5

Browse files
authored
Merge pull request #42614 from compnerd/format
IRGen: clang-format a header (NFC)
2 parents f0e8fcb + 8d93daa commit c1b97a5

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

include/swift/Runtime/RuntimeFnWrappersGen.h

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
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

2323
namespace swift {
24-
24+
2525
class AvailabilityContext;
2626
class 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

Comments
 (0)