зеркало из https://github.com/microsoft/clang-1.git
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
This commit is contained in:
Родитель
04e5176505
Коммит
d09615fcc0
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче