mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
We currently mangle private declarations exactly like public declarations, which means that private entities with the same name and same type will have the same symbol even if defined in separate files. This commit introduces a new mangling production, private-decl-name, which includes a discriminator string to identify the file a decl came from. Actually producing a unique string has not yet been implemented, nor serialization, nor lookup using such a discriminator. Part of rdar://problem/17632175. Swift SVN r21598
38 KiB
38 KiB