mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Consistently get extensions from swift/Basic/FileTypes.h (part 2)
Remove the last few literal extension strings from Strings.h in favor of the file_types APIs, and use those APIs in a few more places.
This commit is contained in:
@@ -18,12 +18,6 @@
|
||||
|
||||
namespace swift {
|
||||
|
||||
/// The extension for serialized modules.
|
||||
constexpr static const char SERIALIZED_MODULE_EXTENSION[] = "swiftmodule";
|
||||
/// The extension for serialized documentation comments.
|
||||
constexpr static const char SERIALIZED_MODULE_DOC_EXTENSION[] = "swiftdoc";
|
||||
/// The extension for PCH files.
|
||||
constexpr static const char PCH_EXTENSION[] = "pch";
|
||||
/// The name of the standard library, which is a reserved module name.
|
||||
constexpr static const char STDLIB_NAME[] = "Swift";
|
||||
/// The name of the Onone support library, which is a reserved module name.
|
||||
|
||||
Reference in New Issue
Block a user