aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/test/clang-doc/json/nested-namespace.cpp
diff options
context:
space:
mode:
authorErick Velez <erickvelez7@gmail.com>2025-07-23 12:53:07 -0700
committerGitHub <noreply@github.com>2025-07-23 12:53:07 -0700
commit4db2f3ac89b1e62af4893b647d77f3ab1f390066 (patch)
tree228c435f4cdb34c09ee9f25aede73c54314f435d /clang-tools-extra/test/clang-doc/json/nested-namespace.cpp
parent478130545bc41a8bb80304e5d931559a9d2b6171 (diff)
downloadllvm-4db2f3ac89b1e62af4893b647d77f3ab1f390066.zip
llvm-4db2f3ac89b1e62af4893b647d77f3ab1f390066.tar.gz
llvm-4db2f3ac89b1e62af4893b647d77f3ab1f390066.tar.bz2
[clang-doc] refactor JSON for better Mustache compatibility (#149588)
This patch contains changes for the JSON generator that will enable compatibility with Mustache templates, like booleans to check for the existence and bounds of arrays to avoid duplication.
Diffstat (limited to 'clang-tools-extra/test/clang-doc/json/nested-namespace.cpp')
-rw-r--r--clang-tools-extra/test/clang-doc/json/nested-namespace.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-doc/json/nested-namespace.cpp b/clang-tools-extra/test/clang-doc/json/nested-namespace.cpp
index 54f95c4..255e540 100644
--- a/clang-tools-extra/test/clang-doc/json/nested-namespace.cpp
+++ b/clang-tools-extra/test/clang-doc/json/nested-namespace.cpp
@@ -12,6 +12,8 @@ namespace nested {
// NESTED: "Variables": [
// NESTED-NEXT: {
+// NESTED-NEXT: "End": true,
+// NESTED-NEXT: "InfoType": "variable",
// NESTED-NEXT: "IsStatic": false,
// NESTED-NEXT: "Location": {
// NESTED-NEXT: "Filename": "{{.*}}nested-namespace.cpp",
@@ -24,6 +26,8 @@ namespace nested {
// INNER: "Variables": [
// INNER-NEXT: {
+// INNER-NEXT: "End": true,
+// INNER-NEXT: "InfoType": "variable",
// INNER-NEXT: "IsStatic": false,
// INNER-NEXT: "Location": {
// INNER-NEXT: "Filename": "{{.*}}nested-namespace.cpp",