1 RUN: clang-diff -html %S/Inputs/clang-diff-basic-src.cpp %S/clang-diff-basic.cpp -- | FileCheck %s
3 CHECK: <pre><div id='L' class='code'><span id='L0' tid='R0' title='TranslationUnitDecl
7 CHECK: <span id='L[[L:[0-9]+]]' tid='R[[R:[0-9]+]]' title='NamespaceDecl
8 CHECK-NEXT: [[L]] -> [[R]]
9 CHECK-NEXT: src;' class='u'>namespace src {
12 CHECK: <span id='L[[L:[0-9]+]]' tid='R[[R:[0-9]+]]' title='FunctionDecl
13 CHECK-NEXT: [[L]] -> [[R]]
14 CHECK-NEXT: :foo(void ())' class='m'>void foo()
17 CHECK: <span id='L[[L:[0-9]+]]' tid='R[[R:[0-9]+]]' title='FunctionDecl
18 CHECK-NEXT: [[L]] -> [[R]]
19 CHECK-NEXT: :main(void ())'>void main()
22 CHECK: <span id='L[[L:[0-9]+]]' tid='R-1' title='IntegerLiteral
23 CHECK-NEXT: [[L]] -> -1
24 CHECK-NEXT: 4' class='d'>4</span>
27 CHECK: 2' class='u m'>2</span>
30 CHECK: <span id='R[[R:[0-9]+]]' tid='L-1' title='StringLiteral
31 CHECK-NEXT: -1 -> [[R]]
32 CHECK-NEXT: Bar' class='i'>"Bar"</span>
35 CHECK: // CHECK: Insert IfStmt{{.*}} into IfStmt
36 CHECK: // CHECK: Delete AccessSpecDecl: public