aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2013-03-05 01:05:07 +0000
committerFariborz Jahanian <fjahanian@apple.com>2013-03-05 01:05:07 +0000
commit2a268f2629b49958427e8eb02f2c3d565be71acc (patch)
tree9b44a3b1d9facc7579362f6c2a0f7d489668598f /utils
parent5aff3f1e9a66fa72576a6b04c8c319c17e0360c6 (diff)
doc parsing. We want to issue a strong warning when
an @function comment is not followed by a function decl. // rdar://13094352 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/ClangCommentCommandInfoEmitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/ClangCommentCommandInfoEmitter.cpp b/utils/TableGen/ClangCommentCommandInfoEmitter.cpp
index 4dafc2eec9..b0bf75217d 100644
--- a/utils/TableGen/ClangCommentCommandInfoEmitter.cpp
+++ b/utils/TableGen/ClangCommentCommandInfoEmitter.cpp
@@ -47,6 +47,7 @@ void EmitClangCommentCommandInfo(RecordKeeper &Records, raw_ostream &OS) {
<< Tag.getValueAsBit("IsVerbatimBlockEndCommand") << ", "
<< Tag.getValueAsBit("IsVerbatimLineCommand") << ", "
<< Tag.getValueAsBit("IsDeclarationCommand") << ", "
+ << Tag.getValueAsBit("IsFunctionDeclarationCommand") << ", "
<< /* IsUnknownCommand = */ "0"
<< " }";
if (i + 1 != e)