Finish off semantic analysis for regparm, and remove the warning. Also
remove a redundant error in CodeGen. llvm-svn: 67868
This commit is contained in:
@@ -311,9 +311,6 @@ void CodeGenModule::SetFunctionAttributesForDefinition(const Decl *D,
|
||||
|
||||
if (D->getAttr<NoinlineAttr>())
|
||||
F->addFnAttr(llvm::Attribute::NoInline);
|
||||
|
||||
if (D->getAttr<RegparmAttr>())
|
||||
ErrorUnsupported(D, "regparm attribute");
|
||||
}
|
||||
|
||||
void CodeGenModule::SetMethodAttributes(const ObjCMethodDecl *MD,
|
||||
|
||||
Reference in New Issue
Block a user