diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-31 22:37:06 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-31 22:37:06 +0000 |
commit | 34df220410b36fd6643154d3d6071bac74403da0 (patch) | |
tree | 1f73381a70095ae60f5ab0c1da8d76659f53547f /clang/lib/AST/CommentBriefParser.cpp | |
parent | 708709c01502e55f6fb49ad45f2c9266fc5eac1b (diff) | |
download | bcm5719-llvm-34df220410b36fd6643154d3d6071bac74403da0.tar.gz bcm5719-llvm-34df220410b36fd6643154d3d6071bac74403da0.zip |
Comment parsing: add support for \tparam command on all levels.
The only caveat is renumbering CXCommentKind enum for aesthetic reasons -- this
breaks libclang binary compatibility, but should not be a problem since API is
so new.
This also fixes PR13372 as a side-effect.
llvm-svn: 161087
Diffstat (limited to 'clang/lib/AST/CommentBriefParser.cpp')
-rw-r--r-- | clang/lib/AST/CommentBriefParser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/CommentBriefParser.cpp b/clang/lib/AST/CommentBriefParser.cpp index 47d52e19a2d..22209c097fd 100644 --- a/clang/lib/AST/CommentBriefParser.cpp +++ b/clang/lib/AST/CommentBriefParser.cpp @@ -48,6 +48,7 @@ bool isBlockCommand(StringRef Name) { .Case("pre", true) .Case("post", true) .Cases("param", "arg", true) + .Case("tparam", true) .Default(false); } } // unnamed namespace |