brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · dfc81df Raw
32 lines · cpp
1// RUN: rm -rf %t && mkdir -p %t2// RUN: clang-doc --format=mustache --output=%t --executor=standalone %s 3// RUN: FileCheck %s < %t/html/MyNamespace/index.html4// RUN: FileCheck %s < %t/html/GlobalNamespace/index.html --check-prefix=CHECK-GLOBAL5 6namespace MyNamespace {7  class Foo;8}9 10// CHECK:       <ul class="class-container">11// CHECK-NEXT:    <li id="{{[0-9A-F]*}}" style="max-height: 40px;">12// CHECK-NEXT:        <a href="_ZTVN11MyNamespace3FooE.html">13// CHECK-NEXT:            <pre><code class="language-cpp code-clang-doc">class Foo</code></pre>14// CHECK-NEXT:        </a>15// CHECK-NEXT:    </li>16// CHECK-NEXT: </ul>17 18// COM: Check that the empty global namespace doesn't contain tag mismatches.19// CHECK-GLOBAL:             <main>20// CHECK-GLOBAL-NEXT:            <div class="container">21// CHECK-GLOBAL-NEXT:                <div class="sidebar">22// CHECK-GLOBAL-NEXT:                    <h2> </h2>23// CHECK-GLOBAL-NEXT:                    <ul>24// CHECK-GLOBAL-NEXT:                    </ul>25// CHECK-GLOBAL-NEXT:                </div>26// CHECK-GLOBAL-NEXT:                <div class="resizer" id="resizer"></div>27// CHECK-GLOBAL-NEXT:                <div class="content">28// CHECK-GLOBAL-EMPTY:29// CHECK-GLOBAL-NEXT:                </div>30// CHECK-GLOBAL-NEXT:            </div>31// CHECK-GLOBAL-NEXT:        </main>32