File tree Expand file tree Collapse file tree 7 files changed +22
-57
lines changed Expand file tree Collapse file tree 7 files changed +22
-57
lines changed Original file line number Diff line number Diff line change 1
1
add_swift_library (swiftReflection STATIC TARGET_LIBRARY FORCE_BUILD_FOR_HOST_SDK
2
- Demangle.cpp
3
2
MetadataSource.cpp
4
- Remangle.cpp
5
3
TypeLowering.cpp
6
4
TypeRef.cpp
7
5
TypeRefBuilder.cpp
6
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/Context.cpp"
7
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/OldDemangler.cpp"
8
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/Demangler.cpp"
9
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/NodePrinter.cpp"
10
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/ManglingUtils.cpp"
11
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/Punycode.cpp"
12
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/Remangler.cpp"
8
13
9
14
C_COMPILE_FLAGS ${SWIFT_RUNTIME_CXX_FLAGS}
10
15
LINK_FLAGS ${SWIFT_RUNTIME_LINK_FLAGS}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ set(swift_runtime_objc_sources
27
27
ErrorObject.mm
28
28
SwiftObject.mm
29
29
SwiftValue.mm
30
- Remangle.cpp
31
- Reflection.mm )
30
+ Reflection.mm
31
+ " ${SWIFT_SOURCE_DIR} /lib/Demangling/Remangler.cpp" )
32
32
33
33
set (swift_runtime_sources
34
34
AnyHashableSupport.cpp
@@ -54,11 +54,16 @@ set(swift_runtime_sources
54
54
Portability.cpp
55
55
ProtocolConformance.cpp
56
56
RefCount.cpp
57
- RuntimeEntrySymbols.cpp )
57
+ RuntimeEntrySymbols.cpp
58
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/OldDemangler.cpp"
59
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/Demangler.cpp"
60
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/NodePrinter.cpp"
61
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/Context.cpp"
62
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/ManglingUtils.cpp"
63
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/Punycode.cpp" )
58
64
59
65
# Acknowledge that the following sources are known.
60
66
set (LLVM_OPTIONAL_SOURCES
61
- Remangle.cpp
62
67
swift_sections.S
63
68
MutexPThread.cpp
64
69
MutexWin32.cpp
Original file line number Diff line number Diff line change 10
10
//
11
11
// ===----------------------------------------------------------------------===//
12
12
13
- #include " ../../../lib/Demangling/OldDemangler.cpp"
14
- #include " ../../../lib/Demangling/Demangler.cpp"
15
- #include " ../../../lib/Demangling/NodePrinter.cpp"
16
- #include " ../../../lib/Demangling/Context.cpp"
17
- #include " ../../../lib/Demangling/ManglingUtils.cpp"
18
- #include " ../../../lib/Demangling/Punycode.cpp"
19
13
#include " swift/Runtime/Metadata.h"
14
+ #include " swift/Strings.h"
20
15
#include " Private.h"
21
16
17
+ #include < vector>
18
+
22
19
#if SWIFT_OBJC_INTEROP
23
20
#include < objc/runtime.h>
24
21
#endif
25
22
23
+ using namespace swift ;
24
+
26
25
// FIXME: This stuff should be merged with the existing logic in
27
26
// include/swift/Reflection/TypeRefBuilder.h as part of the rewrite
28
27
// to change stdlib reflection over to using remote mirrors.
Original file line number Diff line number Diff line change 17
17
#ifndef SWIFT_RUNTIME_PRIVATE_H
18
18
#define SWIFT_RUNTIME_PRIVATE_H
19
19
20
- #include " swift/Demangling/Demangle .h"
20
+ #include " swift/Demangling/Demangler .h"
21
21
#include " swift/Runtime/Config.h"
22
22
#include " swift/Runtime/Metadata.h"
23
23
#include " llvm/Support/Compiler.h"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments