From 7044b76707472ffee9d033863aa4178a440a20cd Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Fri, 27 Mar 2009 21:06:47 +0000 Subject: Finish off semantic analysis for regparm, and remove the warning. Also remove a redundant error in CodeGen. llvm-svn: 67868 --- clang/lib/CodeGen/CodeGenModule.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'clang/lib/CodeGen/CodeGenModule.cpp') diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 0759abdd33f0..907ade569bbc 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -311,9 +311,6 @@ void CodeGenModule::SetFunctionAttributesForDefinition(const Decl *D, if (D->getAttr()) F->addFnAttr(llvm::Attribute::NoInline); - - if (D->getAttr()) - ErrorUnsupported(D, "regparm attribute"); } void CodeGenModule::SetMethodAttributes(const ObjCMethodDecl *MD, -- cgit v1.2.3