summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/slang-reflection-test/slang-reflection-test-main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/slang-reflection-test/slang-reflection-test-main.cpp b/tools/slang-reflection-test/slang-reflection-test-main.cpp
index cd749e53d..4b5faae6b 100644
--- a/tools/slang-reflection-test/slang-reflection-test-main.cpp
+++ b/tools/slang-reflection-test/slang-reflection-test-main.cpp
@@ -431,6 +431,8 @@ static void emitReflectionNameInfoJSON(
writer.writeEscapedString(UnownedStringSlice(name));
}
+static void emitUserAttributes(PrettyWriter& writer, slang::VariableReflection* var);
+
static void emitReflectionModifierInfoJSON(
PrettyWriter& writer,
slang::VariableReflection* var)
@@ -440,6 +442,8 @@ static void emitReflectionModifierInfoJSON(
writer.maybeComma();
writer << "\"shared\": true";
}
+
+ emitUserAttributes(writer, var);
}
static void emitUserAttributeJSON(PrettyWriter& writer, slang::UserAttribute* userAttribute)