Merge pull request #25656 from brentdax/file-name-basis

Shorten #file and add #filePath (behind an experimental flag)
This commit is contained in:
Brent Royal-Gordon
2019-12-06 21:34:58 -08:00
committed by GitHub
27 changed files with 145 additions and 5 deletions

View File

@@ -55,7 +55,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.
///
@@ -440,6 +440,7 @@ enum class DefaultArgumentKind : uint8_t {
None = 0,
Normal,
File,
FilePath,
Line,
Column,
Function,