diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-04-15 02:31:50 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-04-15 02:31:50 +0000 |
commit | d09615fcc03d177a59478d7d6e90a034a4d2a879 (patch) | |
tree | 995a05ecd6836841bfed02733c46be8e867a47ef /include | |
parent | 04e517650569598e847c2ab609672e6df93effe5 (diff) | |
download | clang-d09615fcc03d177a59478d7d6e90a034a4d2a879.tar.gz |
Comment command table: use inheritance instead of duplicating code
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/AST/CommentCommands.td | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/clang/AST/CommentCommands.td b/include/clang/AST/CommentCommands.td index 6712e76471..2ba6f2fb87 100644 --- a/include/clang/AST/CommentCommands.td +++ b/include/clang/AST/CommentCommands.td @@ -67,14 +67,12 @@ class DeclarationVerbatimLineCommand<string name> : } class FunctionDeclarationVerbatimLineCommand<string name> : - VerbatimLineCommand<name> { - let IsDeclarationCommand = 1; + DeclarationVerbatimLineCommand<name> { let IsFunctionDeclarationCommand = 1; } class RecordLikeDeclarationVerbatimLineCommand<string name> : - VerbatimLineCommand<name> { - let IsDeclarationCommand = 1; + DeclarationVerbatimLineCommand<name> { let IsRecordLikeDeclarationCommand = 1; } |