r179501 - Comment command table: use inheritance instead of duplicating code
Dmitri Gribenko
gribozavr at gmail.com
Sun Apr 14 19:31:51 PDT 2013
Author: gribozavr
Date: Sun Apr 14 21:31:50 2013
New Revision: 179501
URL: http://llvm.org/viewvc/llvm-project?rev=179501&view=rev
Log:
Comment command table: use inheritance instead of duplicating code
Modified:
cfe/trunk/include/clang/AST/CommentCommands.td
Modified: cfe/trunk/include/clang/AST/CommentCommands.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/CommentCommands.td?rev=179501&r1=179500&r2=179501&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/CommentCommands.td (original)
+++ cfe/trunk/include/clang/AST/CommentCommands.td Sun Apr 14 21:31:50 2013
@@ -67,14 +67,12 @@ class DeclarationVerbatimLineCommand<str
}
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;
}
More information about the cfe-commits
mailing list