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 972eda2 commit 022e2d3Copy full SHA for 022e2d3
lib/AST/ASTDumper.cpp
@@ -797,8 +797,6 @@ namespace {
797
798
void visitVarDecl(VarDecl *VD) {
799
printCommon(VD, "var_decl");
800
- if (VD->isStatic())
801
- PrintWithColorRAII(OS, DeclModifierColor) << " type";
802
if (VD->isLet())
803
PrintWithColorRAII(OS, DeclModifierColor) << " let";
804
if (VD->hasNonPatternBindingInit())
@@ -811,6 +809,9 @@ namespace {
811
809
}
812
810
813
void printStorageImpl(AbstractStorageDecl *D) {
+ if (D->isStatic())
+ PrintWithColorRAII(OS, DeclModifierColor) << " type";
814
+
815
auto impl = D->getImplInfo();
816
PrintWithColorRAII(OS, DeclModifierColor)
817
<< " readImpl="
0 commit comments