Introduce a separate #filePath, remove -pound-file

This makes the path behavior more first-class. The feature is now hidden behind an experimental flag, -enable-experimental-concise-pound-file.
This commit is contained in:
Brent Royal-Gordon
2019-11-21 15:06:23 -08:00
parent 2acaf387c1
commit 63ec1cf5af
27 changed files with 120 additions and 42 deletions

View File

@@ -52,7 +52,7 @@ const uint16_t SWIFTMODULE_VERSION_MAJOR = 0;
/// describe what change you made. The content of this comment isn't important;
/// it just ensures a conflict if two people change the module format.
/// Don't worry about adhering to the 80-column limit for this line.
const uint16_t SWIFTMODULE_VERSION_MINOR = 526; // @_dynamicReplacement adjustments
const uint16_t SWIFTMODULE_VERSION_MINOR = 527; // #filePath
/// A standard hash seed used for all string hashes in a serialized module.
///
@@ -437,6 +437,7 @@ enum class DefaultArgumentKind : uint8_t {
None = 0,
Normal,
File,
FilePath,
Line,
Column,
Function,