From 6e06e04ec1cc3276b43134beba0c5800be34fac9 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Mon, 15 Apr 2013 02:31:50 +0000 Subject: [PATCH] Comment command table: use inheritance instead of duplicating code llvm-svn: 179501 --- clang/include/clang/AST/CommentCommands.td | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/clang/include/clang/AST/CommentCommands.td b/clang/include/clang/AST/CommentCommands.td index 6712e76..2ba6f2f 100644 --- a/clang/include/clang/AST/CommentCommands.td +++ b/clang/include/clang/AST/CommentCommands.td @@ -67,14 +67,12 @@ class DeclarationVerbatimLineCommand : } class FunctionDeclarationVerbatimLineCommand : - VerbatimLineCommand { - let IsDeclarationCommand = 1; + DeclarationVerbatimLineCommand { let IsFunctionDeclarationCommand = 1; } class RecordLikeDeclarationVerbatimLineCommand : - VerbatimLineCommand { - let IsDeclarationCommand = 1; + DeclarationVerbatimLineCommand { let IsRecordLikeDeclarationCommand = 1; } -- 2.7.4