From 4ba675006b5a8edfc48b6a9bd3dcf54a70cc08f2 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Tue, 13 Jul 2010 17:21:42 +0000 Subject: Update clang to r108243. --- include/clang/Basic/DeclNodes.td | 70 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 include/clang/Basic/DeclNodes.td (limited to 'include/clang/Basic/DeclNodes.td') diff --git a/include/clang/Basic/DeclNodes.td b/include/clang/Basic/DeclNodes.td new file mode 100644 index 000000000000..203fb451e38b --- /dev/null +++ b/include/clang/Basic/DeclNodes.td @@ -0,0 +1,70 @@ +class AttrSubject; + +class Decl : AttrSubject { + bit Abstract = abstract; +} + +class DDecl : Decl { + Decl Base = base; +} + +class DeclContext { } + +def TranslationUnit : Decl, DeclContext; +def Named : Decl<1>; + def Namespace : DDecl, DeclContext; + def UsingDirective : DDecl; + def NamespaceAlias : DDecl; + def Type : DDecl; + def Typedef : DDecl; + def UnresolvedUsingTypename : DDecl; + def Tag : DDecl, DeclContext; + def Enum : DDecl; + def Record : DDecl; + def CXXRecord : DDecl; + def ClassTemplateSpecialization : DDecl; + def ClassTemplatePartialSpecialization + : DDecl; + def TemplateTypeParm : DDecl; + def Value : DDecl; + def EnumConstant : DDecl; + def UnresolvedUsingValue : DDecl; + def Declarator : DDecl; + def Function : DDecl, DeclContext; + def CXXMethod : DDecl; + def CXXConstructor : DDecl; + def CXXDestructor : DDecl; + def CXXConversion : DDecl; + def Field : DDecl; + def ObjCIvar : DDecl; + def ObjCAtDefsField : DDecl; + def Var : DDecl; + def ImplicitParam : DDecl; + def ParmVar : DDecl; + def NonTypeTemplateParm : DDecl; + def Template : DDecl; + def FunctionTemplate : DDecl