mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Deserialize swift3_migration attribute with an empty "renamed" string.
This commit is contained in:
@@ -766,6 +766,8 @@ ConfigParserState swift::operator!(ConfigParserState Result) {
|
||||
StringRef swift::parseDeclName(StringRef name,
|
||||
SmallVectorImpl<StringRef> &argumentLabels,
|
||||
bool &isFunctionName) {
|
||||
if (name.empty()) return "";
|
||||
|
||||
if (name.back() != ')') {
|
||||
isFunctionName = false;
|
||||
if (Lexer::isIdentifier(name) && name != "_")
|
||||
|
||||
Reference in New Issue
Block a user