[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add a "Home" link to navbar (PR #171900)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Dec 11 13:05:33 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 2986 tests passed
* 30 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Extra Tools Unit Tests
<details>
<summary>Extra Tools Unit Tests.clang-doc/_/ClangDocTests_exe/JSONGeneratorTest/emitRecordJSON</summary>
```
Script:
--
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\unittests\clang-doc\.\ClangDocTests.exe --gtest_filter=JSONGeneratorTest.emitRecordJSON
--
C:\_work\llvm-project\llvm-project\clang-tools-extra\unittests\clang-doc\JSONGeneratorTest.cpp:192
Expected equality of these values:
Expected
Which is: "{\n \"Bases\": [\n {\n \"Access\": \"public\",\n \"End\": true,\n \"HasPublicFunctions\": true,\n \"HasPublicMembers\": true,\n \"InfoType\": \"record\",\n \"IsParent\": true,\n \"IsTypedef\": false,\n \"IsVirtual\": true,\n \"MangledName\": \"\",\n \"Name\": \"F\",\n \"Path\": \"path/to/F\",\n \"PublicFunctions\": [\n {\n \"InfoType\": \"function\",\n \"IsStatic\": false,\n \"Name\": \"InheritedFunctionOne\",\n \"ReturnType\": {\n \"IsBuiltIn\": false,\n \"IsTemplate\": false,\n \"Name\": \"\",\n \"QualName\": \"\",\n \"USR\": \"0000000000000000000000000000000000000000\"\n },\n \"USR\": \"0000000000000000000000000000000000000000\"\n }\n ],\n \"PublicMembers\": [\n {\n \"IsStatic\": false,\n \"Name\": \"N\",\n \"Type\": \"int\"\n }\n ],\n \"TagType\": \"struct\",\n \"USR\": \"0000000000000000000000000000000000000000\"\n }\n ],\n \"Enums\": [\n {\n \"End\": true,\n \"InfoType\": \"enum\",\n \"Members\": [\n {\n \"End\": true,\n \"Name\": \"RED\",\n \"Value\": \"0\"\n }\n ],\n \"Name\": \"Color\",\n \"Scoped\": false,\n \"USR\": \"0000000000000000000000000000000000000000\"\n }\n ],\n \"HasEnums\": true,\n \"HasParents\": true,\n \"HasPublicFunctions\": true,\n \"HasRecords\": true,\n \"HasVirtualParents\": true,\n \"InfoType\": \"record\",\n \"IsTypedef\": false,\n \"Location\": {\n \"Filename\": \"main.cpp\",\n \"LineNumber\": 1\n },\n \"MangledName\": \"\",\n \"Name\": \"Foo\",\n \"Namespace\": [\n \"GlobalNamespace\"\n ],\n \"Parents\": [\n {\n \"End\": true,\n \"Name\": \"F\",\n \"Path\": \"\",\n \"QualName\": \"\",\n \"USR\": \"0000000000000000000000000000000000000000\"\n }\n ],\n \"Path\": \"GlobalNamespace\",\n \"ProtectedMembers\": [\n {\n \"IsStatic\": false,\n \"Name\": \"X\",\n \"Type\": \"int\"\n }\n ],\n \"PublicFunctions\": [\n {\n \"InfoType\": \"function\",\n \"IsStatic\": false,\n \"Name\": \"OneFunction\",\n \"ReturnType\": {\n \"IsBuiltIn\": false,\n \"IsTemplate\": false,\n \"Name\": \"\",\n \"QualName\": \"\",\n \"USR\": \"0000000000000000000000000000000000000000\"\n },\n \"USR\": \"0000000000000000000000000000000000000000\"\n }\n ],\n \"Records\": [\n {\n \"End\": true,\n \"Name\": \"ChildStruct\",\n \"Path\": \"path/to/A/r\",\n \"QualName\": \"path::to::A::r::ChildStruct\",\n \"USR\": \"0000000000000000000000000000000000000000\"\n }\n ],\n \"TagType\": \"class\",\n \"Template\": {\n \"Parameters\": [\n \"class T\"\n ]\n },\n \"USR\": \"0000000000000000000000000000000000000000\",\n \"VirtualParents\": [\n {\n \"End\": true,\n \"Name\": \"G\",\n \"Path\": \"path/to/G\",\n \"QualName\": \"path::to::G::G\",\n \"USR\": \"0000000000000000000000000000000000000000\"\n }\n ]\n}"
Actual.str()
Which is: "{\n \"Bases\": [\n {\n \"Access\": \"public\",\n \"End\": true,\n \"HasPublicFunctions\": true,\n \"HasPublicMembers\": true,\n \"InfoType\": \"record\",\n \"IsParent\": true,\n \"IsTypedef\": false,\n \"IsVirtual\": true,\n \"MangledName\": \"\",\n \"Name\": \"F\",\n \"Path\": \"path/to/F\",\n \"PublicFunctions\": [\n {\n \"InfoType\": \"function\",\n \"IsStatic\": false,\n \"Name\": \"InheritedFunctionOne\",\n \"ReturnType\": {\n \"IsBuiltIn\": false,\n \"IsTemplate\": false,\n \"Name\": \"\",\n \"QualName\": \"\",\n \"USR\": \"0000000000000000000000000000000000000000\"\n },\n \"USR\": \"0000000000000000000000000000000000000000\"\n }\n ],\n \"PublicMembers\": [\n {\n \"IsStatic\": false,\n \"Name\": \"N\",\n \"Type\": \"int\"\n }\n ],\n \"TagType\": \"struct\",\n \"USR\": \"0000000000000000000000000000000000000000\"\n }\n ],\n \"Enums\": [\n {\n \"End\": true,\n \"InfoType\": \"enum\",\n \"Members\": [\n {\n \"End\": true,\n \"Name\": \"RED\",\n \"Value\": \"0\"\n }\n ],\n \"Name\": \"Color\",\n \"Scoped\": false,\n \"USR\": \"0000000000000000000000000000000000000000\"\n }\n ],\n \"HasEnums\": true,\n \"HasParents\": true,\n \"HasPublicFunctions\": true,\n \"HasRecords\": true,\n \"HasVirtualParents\": true,\n \"InfoType\": \"record\",\n \"IsTypedef\": false,\n \"Location\": {\n \"Filename\": \"main.cpp\",\n \"LineNumber\": 1\n },\n \"MangledName\": \"\",\n \"Name\": \"Foo\",\n \"Namespace\": [\n \"GlobalNamespace\"\n ],\n \"Parents\": [\n {\n \"End\": true,\n \"Name\": \"F\",\n \"QualName\": \"\",\n \"USR\": \"0000000000000000000000000000000000000000\"\n }\n ],\n \"Path\": \"GlobalNamespace\",\n \"ProtectedMembers\": [\n {\n \"IsStatic\": false,\n \"Name\": \"X\",\n \"Type\": \"int\"\n }\n ],\n \"PublicFunctions\": [\n {\n \"InfoType\": \"function\",\n \"IsStatic\": false,\n \"Name\": \"OneFunction\",\n \"ReturnType\": {\n \"IsBuiltIn\": false,\n \"IsTemplate\": false,\n \"Name\": \"\",\n \"QualName\": \"\",\n \"USR\": \"0000000000000000000000000000000000000000\"\n },\n \"USR\": \"0000000000000000000000000000000000000000\"\n }\n ],\n \"Records\": [\n {\n \"End\": true,\n \"Name\": \"ChildStruct\",\n \"Path\": \"path/to/A/r\",\n \"QualName\": \"path::to::A::r::ChildStruct\",\n \"USR\": \"0000000000000000000000000000000000000000\"\n }\n ],\n \"TagType\": \"class\",\n \"Template\": {\n \"Parameters\": [\n \"class T\"\n ]\n },\n \"USR\": \"0000000000000000000000000000000000000000\",\n \"VirtualParents\": [\n {\n \"End\": true,\n \"Name\": \"G\",\n \"Path\": \"path/to/G\",\n \"QualName\": \"path::to::G::G\",\n \"USR\": \"0000000000000000000000000000000000000000\"\n }\n ]\n}"
With diff:
@@ -75,5 @@
\"End\": true,
\"Name\": \"F\",
- \"Path\": \"\",
\"QualName\": \"\",
\"USR\": \"0000000000000000000000000000000000000000\"
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/171900
More information about the llvm-branch-commits
mailing list