Skip to content

Commit f526289

Browse files
committed
---
yaml --- r: 347831 b: refs/heads/master c: ad887f9 h: refs/heads/master i: 347829: f8a9588 347827: 405b1da 347823: 0fda189
1 parent 8c78e4c commit f526289

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: c3eb9ff860623bfe9a298a3fd454ec857195c8ad
2+
refs/heads/master: ad887f9eaedde7f54814ff838c1d5ccc5c794a68
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/test/api-digester/Outputs/Cake-abi.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cake1: InfixOperator ..*.. has been changed to a PrefixOperator
2424
cake1: Protocol ProtocolToEnum has been changed to a Enum
2525

2626
/* Renamed Decls */
27-
cake1: Func S1.foo5(x:y:) has been renamed to Func S1.foo5(x:y:z:)
27+
cake1: Func S1.foo5(x:y:) has been renamed to Func foo5(x:y:z:)
2828
cake1: Struct Somestruct2 has been renamed to Struct NSSomestruct2
2929

3030
/* Type Changes */

trunk/test/api-digester/Outputs/Cake.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cake1: InfixOperator ..*.. has been changed to a PrefixOperator
2323
cake1: Protocol ProtocolToEnum has been changed to a Enum
2424

2525
/* Renamed Decls */
26-
cake1: Func S1.foo5(x:y:) has been renamed to Func S1.foo5(x:y:z:)
26+
cake1: Func S1.foo5(x:y:) has been renamed to Func foo5(x:y:z:)
2727
cake1: Struct Somestruct2 has been renamed to Struct NSSomestruct2
2828

2929
/* Type Changes */

trunk/tools/swift-api-digester/swift-api-digester.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1942,10 +1942,9 @@ void DiagnosisEmitter::handle(const SDKNodeDecl *Node, NodeAnnotation Anno) {
19421942
return;
19431943
}
19441944
case NodeAnnotation::Rename: {
1945-
auto *Count = UpdateMap.findUpdateCounterpart(Node)->getAs<SDKNodeDecl>();
19461945
Node->emitDiag(diag::renamed_decl,
1947-
Ctx.buffer((Twine(getDeclKindStr(Count->getDeclKind())) + " " +
1948-
Count->getFullyQualifiedName()).str()));
1946+
Ctx.buffer((Twine(getDeclKindStr(Node->getDeclKind())) + " " +
1947+
Node->getAnnotateComment(NodeAnnotation::RenameNewName)).str()));
19491948
return;
19501949
}
19511950
default:

0 commit comments

Comments
 (0)