diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-02-02 23:39:07 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-02-02 23:39:07 +0000 |
commit | 64650af7cc4352c6c67b9bd1bf8ef3ce7471b910 (patch) | |
tree | 18274cf067d1316eddc0650c2c6394a0dba85402 /lib/Sema/SemaDeclObjC.cpp | |
parent | 541b63b1a9db77e4a8670e9823711c2c12e58afb (diff) |
Add a macro-based enumeration of all of the Decl nodes (like we do
with Stmt/Expr nodes), and convert some of the more mundane
switch-on-all-decl-kinds uses over to use this new file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63570 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index c3519f8f01..3b0265e703 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -1362,10 +1362,10 @@ Sema::DeclTy *Sema::ActOnMethodDeclaration( ArgNames[i], argType, VarDecl::None, 0); else - Param = ParmVarWithOriginalTypeDecl::Create(Context, ObjCMethod, - SourceLocation(/*FIXME*/), - ArgNames[i], argType, originalArgType, - VarDecl::None, 0); + Param = OriginalParmVarDecl::Create(Context, ObjCMethod, + SourceLocation(/*FIXME*/), + ArgNames[i], argType, originalArgType, + VarDecl::None, 0); Param->setObjCDeclQualifier( CvtQTToAstBitMask(ArgQT[i].getObjCDeclQualifier())); |