summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/DiagnosticCommentKinds.td
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-07-12 23:37:09 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-07-12 23:37:09 +0000
commit3d986980bd02594b1a5aa7b9f9f68d201621ced7 (patch)
tree7d048d7a9030e39a0dc725b9557754064c93df87 /include/clang/Basic/DiagnosticCommentKinds.td
parent23458208b25acd7d2dfa003b029299e30124fe5f (diff)
Make concepts of optional and forbidden end tags separate. Thanks Jordan for pointing this!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticCommentKinds.td')
-rw-r--r--include/clang/Basic/DiagnosticCommentKinds.td4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticCommentKinds.td b/include/clang/Basic/DiagnosticCommentKinds.td
index 7500d402df..a4b974ae82 100644
--- a/include/clang/Basic/DiagnosticCommentKinds.td
+++ b/include/clang/Basic/DiagnosticCommentKinds.td
@@ -26,6 +26,10 @@ def note_doc_html_tag_started_here : Note<
// HTML semantic errors
+def warn_doc_html_close_forbidden : Warning<
+ "HTML closing tag '%0' is forbidden">,
+ InGroup<DocumentationHTML>, DefaultIgnore;
+
def warn_doc_html_close_unbalanced : Warning<
"HTML closing tag does not match any opening tag">,
InGroup<DocumentationHTML>, DefaultIgnore;