aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/warn-documentation.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-07-13 00:44:24 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-07-13 00:44:24 +0000
commit3f38bf2d441fac379c427f86153fbb0cb41256c6 (patch)
tree85044422828656cba608b746c8e3e6937697aeb9 /test/Sema/warn-documentation.cpp
parent3d986980bd02594b1a5aa7b9f9f68d201621ced7 (diff)
Comment parsing: repaint the bikesched: rename 'HTML open tags' to 'HTML start tags' and 'HTML close tags' to 'HTML end tags' according to HTML spec.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/warn-documentation.cpp')
-rw-r--r--test/Sema/warn-documentation.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/Sema/warn-documentation.cpp b/test/Sema/warn-documentation.cpp
index b1c871a5fd..f12871856b 100644
--- a/test/Sema/warn-documentation.cpp
+++ b/test/Sema/warn-documentation.cpp
@@ -9,43 +9,43 @@ int test_html1(int);
int test_html2(int);
// expected-warning@+2 {{expected quoted string after equals sign}}
-// expected-warning@+1 {{HTML opening tag prematurely ended, expected attribute name or '>'}}
+// expected-warning@+1 {{HTML start tag prematurely ended, expected attribute name or '>'}}
/// <a href= blah
int test_html3(int);
-// expected-warning@+1 {{HTML opening tag prematurely ended, expected attribute name or '>'}}
+// expected-warning@+1 {{HTML start tag prematurely ended, expected attribute name or '>'}}
/// <a =>
int test_html4(int);
-// expected-warning@+1 {{HTML opening tag prematurely ended, expected attribute name or '>'}}
+// expected-warning@+1 {{HTML start tag prematurely ended, expected attribute name or '>'}}
/// <a "aaa">
int test_html5(int);
-// expected-warning@+1 {{HTML opening tag prematurely ended, expected attribute name or '>'}}
+// expected-warning@+1 {{HTML start tag prematurely ended, expected attribute name or '>'}}
/// <a a="b" =>
int test_html6(int);
-// expected-warning@+1 {{HTML opening tag prematurely ended, expected attribute name or '>'}}
+// expected-warning@+1 {{HTML start tag prematurely ended, expected attribute name or '>'}}
/// <a a="b" "aaa">
int test_html7(int);
-// expected-warning@+1 {{HTML opening tag prematurely ended, expected attribute name or '>'}}
+// expected-warning@+1 {{HTML start tag prematurely ended, expected attribute name or '>'}}
/// <a a="b" =
int test_html8(int);
-// expected-warning@+2 {{HTML opening tag prematurely ended, expected attribute name or '>'}} expected-note@+1 {{HTML tag started here}}
+// expected-warning@+2 {{HTML start tag prematurely ended, expected attribute name or '>'}} expected-note@+1 {{HTML tag started here}}
/** Aaa bbb<ccc ddd eee
* fff ggg.
*/
int test_html9(int);
-// expected-warning@+1 {{HTML opening tag prematurely ended, expected attribute name or '>'}}
+// expected-warning@+1 {{HTML start tag prematurely ended, expected attribute name or '>'}}
/** Aaa bbb<ccc ddd eee 42%
* fff ggg.
*/
int test_html10(int);
-// expected-warning@+1 {{HTML closing tag 'br' is forbidden}}
+// expected-warning@+1 {{HTML end tag 'br' is forbidden}}
/// <br></br>
int test_html11(int);
@@ -63,17 +63,17 @@ int test_html_nesting3(int);
/// Bbb</p>
int test_html_nesting4(int);
-// expected-warning@+1 {{HTML closing tag does not match any opening tag}}
+// expected-warning@+1 {{HTML end tag does not match any start tag}}
/// <b><i>Meow</a>
int test_html_nesting5(int);
-// expected-warning@+2 {{HTML opening tag 'i' closed by 'b'}}
-// expected-warning@+1 {{HTML closing tag does not match any opening tag}}
+// expected-warning@+2 {{HTML start tag 'i' closed by 'b'}}
+// expected-warning@+1 {{HTML end tag does not match any start tag}}
/// <b><i>Meow</b></b>
int test_html_nesting6(int);
-// expected-warning@+2 {{HTML opening tag 'i' closed by 'b'}}
-// expected-warning@+1 {{HTML closing tag does not match any opening tag}}
+// expected-warning@+2 {{HTML start tag 'i' closed by 'b'}}
+// expected-warning@+1 {{HTML end tag does not match any start tag}}
/// <b><i>Meow</b></i>
int test_html_nesting7(int);