Skip to content

Commit 1475ab6

Browse files
[gardening] Remove duplicate #include:s
1 parent 9f21cae commit 1475ab6

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

include/swift/Runtime/Config.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#ifndef SWIFT_RUNTIME_CONFIG_H
1818
#define SWIFT_RUNTIME_CONFIG_H
1919

20+
// Bring in visibility attribute macros for library visibility.
2021
#include "llvm/Support/Compiler.h"
2122

2223
/// Does the current Swift platform support "unbridged" interoperation
@@ -187,9 +188,6 @@
187188

188189
#endif
189190

190-
// Bring in visibility attribute macros for library visibility.
191-
#include "llvm/Support/Compiler.h"
192-
193191
// Generates a name of the runtime entry's implementation by
194192
// adding an underscore as a prefix and a suffix.
195193
#define SWIFT_RT_ENTRY_IMPL(Name) _##Name##_

unittests/runtime/weak.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <objc/runtime.h>
1515
#include "swift/Runtime/HeapObject.h"
1616
#include "swift/Runtime/Metadata.h"
17-
#include "swift/Runtime/Metadata.h"
1817
#include "gtest/gtest.h"
1918

2019
using namespace swift;

0 commit comments

Comments
 (0)