// SHAPE-REPOSITORY-NEXT: Defined at line // SHAPE-REPOSITORY-NEXT: 8 +// SHAPE-LINE-PREFIX: 8 // SHAPE-REPOSITORY-NEXT: of file // SHAPE-REPOSITORY-NEXT: Shape.h // SHAPE-REPOSITORY-NEXT:
@@ -98,6 +110,7 @@ // SHAPE-NO-REPOSITORY: Defined at line 13 of file .{{.}}include{{.}}Shape.h // SHAPE-REPOSITORY: Defined at line // SHAPE-REPOSITORY-NEXT: 13 +// SHAPE-LINE-PREFIX: 13 // SHAPE-REPOSITORY-NEXT: of file // SHAPE-REPOSITORY-NEXT: Shape.h @@ -109,6 +122,7 @@ // CALC-REPOSITORY:// CALC-REPOSITORY-NEXT: Defined at line // CALC-REPOSITORY-NEXT: 8 +// CALC-LINE-PREFIX: 8 // CALC-REPOSITORY-NEXT: of file // CALC-REPOSITORY-NEXT: Calculator.h // CALC-REPOSITORY-NEXT:
@@ -121,6 +135,7 @@ // CALC-NO-REPOSITORY: Defined at line 3 of file .{{.}}src{{.}}Calculator.cpp // CALC-REPOSITORY: Defined at line // CALC-REPOSITORY-NEXT: 3 +// CALC-LINE-PREFIX: 3 // CALC-REPOSITORY-NEXT: of file // CALC-REPOSITORY-NEXT: Calculator.cpp @@ -133,6 +148,7 @@ // CALC-NO-REPOSITORY: Defined at line 7 of file .{{.}}src{{.}}Calculator.cpp // CALC-REPOSITORY: Defined at line // CALC-REPOSITORY-NEXT: 7 +// CALC-LINE-PREFIX: 7 // CALC-REPOSITORY-NEXT: of file // CALC-REPOSITORY-NEXT: Calculator.cpp @@ -145,6 +161,7 @@ // CALC-NO-REPOSITORY: Defined at line 11 of file .{{.}}src{{.}}Calculator.cpp // CALC-REPOSITORY: Defined at line // CALC-REPOSITORY-NEXT: 11 +// CALC-LINE-PREFIX: 11 // CALC-REPOSITORY-NEXT: of file // CALC-REPOSITORY-NEXT: Calculator.cpp @@ -157,6 +174,7 @@ // CALC-NO-REPOSITORY: Defined at line 15 of file .{{.}}src{{.}}Calculator.cpp // CALC-REPOSITORY: Defined at line // CALC-REPOSITORY-NEXT: 15 +// CALC-LINE-PREFIX: 15 // CALC-REPOSITORY-NEXT: of file // CALC-REPOSITORY-NEXT: Calculator.cpp @@ -172,6 +190,7 @@ // RECTANGLE-REPOSITORY:// RECTANGLE-REPOSITORY-NEXT: Defined at line // RECTANGLE-REPOSITORY-NEXT: 10 +// RECTANGLE-LINE-PREFIX: 10 // RECTANGLE-REPOSITORY-NEXT: of file // RECTANGLE-REPOSITORY-NEXT: Rectangle.h // RECTANGLE-REPOSITORY-NEXT:
@@ -192,6 +211,7 @@ // RECTANGLE-NO-REPOSITORY: Defined at line 3 of file .{{.}}src{{.}}Rectangle.cpp // RECTANGLE-REPOSITORY: Defined at line // RECTANGLE-REPOSITORY-NEXT: 3 +// RECTANGLE-LINE-PREFIX: 3 // RECTANGLE-REPOSITORY-NEXT: of file // RECTANGLE-REPOSITORY-NEXT: Rectangle.cpp @@ -202,6 +222,7 @@ // RECTANGLE-NO-REPOSITORY: Defined at line 6 of file .{{.}}src{{.}}Rectangle.cpp // RECTANGLE-REPOSITORY: Defined at line // RECTANGLE-REPOSITORY-NEXT: 6 +// RECTANGLE-LINE-PREFIX: 6 // RECTANGLE-REPOSITORY-NEXT: of file // RECTANGLE-REPOSITORY-NEXT: Rectangle.cpp @@ -214,6 +235,7 @@ // RECTANGLE-NO-REPOSITORY: Defined at line 10 of file .{{.}}src{{.}}Rectangle.cpp // RECTANGLE-REPOSITORY: Defined at line // RECTANGLE-REPOSITORY-NEXT: 10 +// RECTANGLE-LINE-PREFIX: 10 // RECTANGLE-REPOSITORY-NEXT: of file // RECTANGLE-REPOSITORY-NEXT: Rectangle.cpp // HTML-RECTANGLE:// CIRCLE-REPOSITORY-NEXT: Defined at line // CIRCLE-REPOSITORY-NEXT: 10 +// CIRCLE-LINE-PREFIX: 10 // CIRCLE-REPOSITORY-NEXT: of file // CIRCLE-REPOSITORY-NEXT: Circle.h // CIRCLE-REPOSITORY-NEXT:
@@ -246,6 +269,7 @@ // CIRCLE-NO-REPOSITORY: Defined at line 3 of file .{{.}}src{{.}}Circle.cpp // CIRCLE-REPOSITORY: Defined at line // CIRCLE-REPOSITORY-NEXT: 3 +// CIRCLE-LINE-PREFIX: 3 // CIRCLE-REPOSITORY-NEXT: of file // CIRCLE-REPOSITORY-NEXT: Circle.cpp @@ -256,6 +280,7 @@ // CIRCLE-NO-REPOSITORY: Defined at line 5 of file .{{.}}src{{.}}Circle.cpp // CIRCLE-REPOSITORY: Defined at line // CIRCLE-REPOSITORY-NEXT: 5 +// CIRCLE-LINE-PREFIX: 5 // CIRCLE-REPOSITORY-NEXT: of file // CIRCLE-REPOSITORY-NEXT: Circle.cpp @@ -268,6 +293,7 @@ // CIRCLE-NO-REPOSITORY: Defined at line 9 of file .{{.}}src{{.}}Circle.cpp // CIRCLE-REPOSITORY: Defined at line // CIRCLE-REPOSITORY-NEXT: 9 +// CIRCLE-LINE-PREFIX: 9 // CIRCLE-REPOSITORY-NEXT: of file // CIRCLE-REPOSITORY-NEXT: Circle.cpp @@ -384,3 +410,4 @@ // MD-INDEX: # C/C++ Reference // MD-INDEX: * Namespace: [GlobalNamespace](GlobalNamespace) + diff --git a/clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp b/clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp index 66cf77d7b0f37..e440e11c07fdb 100644 --- a/clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp +++ b/clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp @@ -28,9 +28,11 @@ std::unique_ptr