Files
TheRock/compiler/amd-llvm/clang-tools-extra/test/clang-doc/mustache-separate-namespace.cpp
T
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

53 lines
2.9 KiB
C++

// RUN: rm -rf %t && mkdir -p %t
// RUN: clang-doc --format=html --output=%t --executor=standalone %s
// RUN: FileCheck %s < %t/html/MyNamespace/index.html
// RUN: FileCheck %s < %t/html/GlobalNamespace/index.html --check-prefix=CHECK-GLOBAL
namespace MyNamespace {
class Foo;
}
// CHECK: <ul class="class-container">
// CHECK-NEXT: <li id="{{[0-9A-F]*}}" style="max-height: 40px;">
// CHECK-NEXT: <a href="_ZTVN11MyNamespace3FooE.html">
// CHECK-NEXT: <pre><code class="language-cpp code-clang-doc">class Foo</code></pre>
// CHECK-NEXT: </a>
// CHECK-NEXT: </li>
// CHECK-NEXT: </ul>
// COM: Check that the empty global namespace doesn't contain tag mismatches.
// CHECK-GLOBAL: <main>
// CHECK-GLOBAL-NEXT: <div class="container">
// CHECK-GLOBAL-NEXT: <div class="sidebar">
// CHECK-GLOBAL-NEXT: <h2>Global Namespace</h2>
// CHECK-GLOBAL-NEXT: <ul>
// CHECK-GLOBAL-NEXT: <li>
// CHECK-GLOBAL-NEXT: <details open>
// CHECK-GLOBAL-NEXT: <summary class="sidebar-section">
// CHECK-GLOBAL-NEXT: <a class="sidebar-item" href="#Namespaces">Namespaces</a>
// CHECK-GLOBAL-NEXT: </summary>
// CHECK-GLOBAL-NEXT: <ul>
// CHECK-GLOBAL-NEXT: <li class="sidebar-item-container">
// CHECK-GLOBAL-NEXT: <a class="sidebar-item" href="#{{[0-9A-F]*}}">MyNamespace</a>
// CHECK-GLOBAL-NEXT: </li>
// CHECK-GLOBAL-NEXT: </ul>
// CHECK-GLOBAL-NEXT: </details>
// CHECK-GLOBAL-NEXT: </li>
// CHECK-GLOBAL-NEXT: </ul>
// CHECK-GLOBAL-NEXT: </div>
// CHECK-GLOBAL-NEXT: <div class="resizer" id="resizer"></div>
// CHECK-GLOBAL-NEXT: <div class="content">
// CHECK-GLOBAL-NEXT: <section id="Namespaces" class="section-container">
// CHECK-GLOBAL-NEXT: <h2>Namespaces</h2>
// CHECK-GLOBAL-NEXT: <ul class="class-container">
// CHECK-GLOBAL-NEXT: <li id="{{[0-9A-F]*}}">
// CHECK-GLOBAL-NEXT: <a href="../MyNamespace/index.html">
// CHECK-GLOBAL-NEXT: <pre><code class="language-cpp code-clang-doc">namespace MyNamespace</code></pre>
// CHECK-GLOBAL-NEXT: </a>
// CHECK-GLOBAL-NEXT: </li>
// CHECK-GLOBAL-NEXT: </ul>
// CHECK-GLOBAL-NEXT: </section>
// CHECK-GLOBAL-NEXT: </div>
// CHECK-GLOBAL-NEXT: </div>
// CHECK-GLOBAL-NEXT: </main>