mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
demangler: put the demangler into a separate library
Previously it was part of swiftBasic. The demangler library does not depend on llvm (except some header-only utilities like StringRef). Putting it into its own library makes sure that no llvm stuff will be linked into clients which use the demangler library. This change also contains other refactoring, like moving demangler code into different files. This makes it easier to remove the old demangler from the runtime library when we switch to the new symbol mangling. Also in this commit: remove some unused API functions from the demangler Context. fixes rdar://problem/30503344
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "swift/Basic/Demangle.h"
|
||||
#include "swift/Demangling/Demangle.h"
|
||||
#include "swift/SwiftDemangle/SwiftDemangle.h"
|
||||
|
||||
static size_t swift_demangle_getDemangledName_Options(const char *MangledName,
|
||||
|
||||
Reference in New Issue
Block a user