aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/CommentParser.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2013-03-02 02:39:57 +0000
committerFariborz Jahanian <fjahanian@apple.com>2013-03-02 02:39:57 +0000
commit8536fa14ee1048e5e2d62cb3dc11fc640c7dc00d (patch)
tree8e7f5e2534fa70dae25b32f41f52a77bb2df5ad5 /include/clang/AST/CommentParser.h
parent15e05e932ccf9ba2621394834b62684b42d6fd40 (diff)
Some refactoring in my patch on document
command source fidelity. // rdar://13066276 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/CommentParser.h')
-rw-r--r--include/clang/AST/CommentParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/CommentParser.h b/include/clang/AST/CommentParser.h
index 8bf629b45e..d6a1072786 100644
--- a/include/clang/AST/CommentParser.h
+++ b/include/clang/AST/CommentParser.h
@@ -87,7 +87,7 @@ class Parser {
}
bool isTokBlockCommand() {
- return Tok.is(tok::command) &&
+ return (Tok.is(tok::backslash_command) || Tok.is(tok::at_command)) &&
Traits.getCommandInfo(Tok.getCommandID())->IsBlockCommand;
}