summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/DiagnosticCommentKinds.td
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2013-05-08 19:21:00 +0000
committerFariborz Jahanian <fjahanian@apple.com>2013-05-08 19:21:00 +0000
commit0089bc4ddee6bb309ad25f4c7ad4b7ffe5df4512 (patch)
tree6072635b29c798a8605aaf398aa5d278db274afa /include/clang/Basic/DiagnosticCommentKinds.td
parent4b7b104c2c66550ecc4ebfe39225fe067858b9aa (diff)
documentation parsing. Patch to do typo correction for
documentation commands. Patch was reviewed, along with great suggestions for improvement, by Doug. // rdar://12381408 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181458 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 3df03cdb33..4619e8a6b0 100644
--- a/include/clang/Basic/DiagnosticCommentKinds.td
+++ b/include/clang/Basic/DiagnosticCommentKinds.td
@@ -159,5 +159,9 @@ def warn_verbatim_block_end_without_start : Warning<
def warn_unknown_comment_command_name : Warning<
"unknown command tag name">, InGroup<Documentation>, DefaultIgnore;
+def warn_correct_comment_command_name : Warning<
+ "unknown command tag name '%0'; did you mean '%1'?">,
+ InGroup<Documentation>;
+
} // end of documentation issue category
} // end of AST component