CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
69 lines
3.4 KiB
C++
69 lines
3.4 KiB
C++
// RUN: rm -rf %t && mkdir -p %t
|
|
// RUN: clang-doc --format=html --pretty-json --output=%t --executor=standalone %s
|
|
// RUN: FileCheck %s < %t/json/index.json -check-prefix=CHECK-JSON
|
|
// RUN: FileCheck %s < %t/html/index.html -check-prefix=CHECK-HTML
|
|
|
|
class Foo {};
|
|
|
|
namespace inner {
|
|
class Bar {};
|
|
}
|
|
|
|
// CHECK-JSON: "Index": [
|
|
// CHECK-JSON-NEXT: {
|
|
// CHECK-JSON-NEXT: "Name": "GlobalNamespace",
|
|
// CHECK-JSON-NEXT: "QualName": "GlobalNamespace",
|
|
// CHECK-JSON-NEXT: "Type": "namespace",
|
|
// CHECK-JSON-NEXT: "USR": "0000000000000000000000000000000000000000"
|
|
// CHECK-JSON-NEXT: },
|
|
// CHECK-JSON-NEXT: {
|
|
// CHECK-JSON-NEXT: "Name": "inner",
|
|
// CHECK-JSON-NEXT: "QualName": "inner",
|
|
// CHECK-JSON-NEXT: "Type": "namespace",
|
|
// CHECK-JSON-NEXT: "USR": "{{([0-9A-F]{40})}}"
|
|
// CHECK-JSON-NEXT: }
|
|
// CHECK-JSON-NEXT: ]
|
|
|
|
// CHECK-HTML: <main>
|
|
// CHECK-HTML-NEXT: <div class="container">
|
|
// CHECK-HTML-NEXT: <div class="sidebar">
|
|
// CHECK-HTML-NEXT: <h2></h2>
|
|
// CHECK-HTML-NEXT: <ul>
|
|
// CHECK-HTML-NEXT: <li>
|
|
// CHECK-HTML-NEXT: <details open>
|
|
// CHECK-HTML-NEXT: <summary class="sidebar-section">
|
|
// CHECK-HTML-NEXT: <a class="sidebar-item" href="#Index">Index</a>
|
|
// CHECK-HTML-NEXT: </summary>
|
|
// CHECK-HTML-NEXT: <ul>
|
|
// CHECK-HTML-NEXT: <li class="sidebar-item-container">
|
|
// CHECK-HTML-NEXT: <a class="sidebar-item" href="#{{([0-9A-F]{40})}}">GlobalNamespace</a>
|
|
// CHECK-HTML-NEXT: </li>
|
|
// CHECK-HTML-NEXT: <li class="sidebar-item-container">
|
|
// CHECK-HTML-NEXT: <a class="sidebar-item" href="#{{([0-9A-F]{40})}}">inner</a>
|
|
// CHECK-HTML-NEXT: </li>
|
|
// CHECK-HTML-NEXT: </ul>
|
|
// CHECK-HTML-NEXT: </details>
|
|
// CHECK-HTML-NEXT: </li>
|
|
// CHECK-HTML-NEXT: </ul>
|
|
// CHECK-HTML-NEXT: </div>
|
|
// CHECK-HTML-NEXT: <div class="resizer" id="resizer"></div>
|
|
// CHECK-HTML-NEXT: <div class="content">
|
|
// CHECK-HTML-NEXT: <section id="Index" class="section-container">
|
|
// CHECK-HTML-NEXT: <h2>Index</h2>
|
|
// CHECK-HTML-NEXT: <div>
|
|
// CHECK-HTML-NEXT: <a href="GlobalNamespace/index.html">
|
|
// CHECK-HTML-NEXT: <pre><code id="{{([0-9A-F]{40})}}" class="language-cpp code-clang-doc">namespace GlobalNamespace</code></pre>
|
|
// CHECK-HTML-NEXT: </a>
|
|
// CHECK-HTML-NEXT: </div>
|
|
// CHECK-HTML-NEXT: <div>
|
|
// CHECK-HTML-NEXT: <a href="inner/index.html">
|
|
// CHECK-HTML-NEXT: <pre><code id="{{([0-9A-F]{40})}}" class="language-cpp code-clang-doc">namespace inner</code></pre>
|
|
// CHECK-HTML-NEXT: </a>
|
|
// CHECK-HTML-NEXT: </div>
|
|
// CHECK-HTML-NEXT: </section>
|
|
// CHECK-HTML-NEXT: </div>
|
|
// CHECK-HTML-NEXT: </div>
|
|
// CHECK-HTML-NEXT: </main>
|
|
|
|
// COM: TODO: Add Markdown index test
|