File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -332,11 +332,27 @@ void SILDeclRef::print(raw_ostream &OS) const {
332332 auto *accessor = dyn_cast<AccessorDecl>(getDecl ());
333333 if (!accessor) {
334334 printValueDecl (getDecl (), OS);
335+ if (isDistributed ()) {
336+ OS << " !distributed" ;
337+ OS << " (" << getDecl () << " )" ;
338+ }
339+ if (isDistributedThunk ()) {
340+ OS << " !distributed_thunk" ;
341+ OS << " (" << getDecl () << " )" ;
342+ }
335343 isDot = false ;
336344 break ;
337345 }
338346
339347 printValueDecl (accessor->getStorage (), OS);
348+ if (isDistributed ()) {
349+ OS << " !distributed" ;
350+ OS << " (" << getDecl () << " )" ;
351+ }
352+ if (isDistributedThunk ()) {
353+ OS << " !distributed_thunk" ;
354+ OS << " (" << getDecl () << " )" ;
355+ }
340356 switch (accessor->getAccessorKind ()) {
341357 case AccessorKind::WillSet:
342358 OS << " !willSet" ;
You can’t perform that action at this time.
0 commit comments