We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a1eb2 commit b20251eCopy full SHA for b20251e
lib/AST/ASTDumper.cpp
@@ -1347,6 +1347,14 @@ namespace {
1347
printStorageImpl(VD);
1348
printFlag(VD->getAttrs().hasAttribute<KnownToBeLocalAttr>(),
1349
"known_to_be_local", DeclModifierColor);
1350
+ if (auto *nonisolatedAttr =
1351
+ VD->getAttrs().getAttribute<NonisolatedAttr>()) {
1352
+ if (nonisolatedAttr->isUnsafe()) {
1353
+ printFlag(true, "nonisolated(unsafe)", DeclModifierColor);
1354
+ } else {
1355
+ printFlag(true, "nonisolated", DeclModifierColor);
1356
+ }
1357
1358
1359
printAccessors(VD);
1360
0 commit comments