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;
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits