Revert r170500. It over-zealously converted *ALL* things named Attributes, which is wrong here.
llvm-svn: 170721
This commit is contained in:
@@ -946,7 +946,7 @@ void CodeGenFunction::EmitDestructorBody(FunctionArgList &Args) {
|
||||
// -fapple-kext must inline any call to this dtor into
|
||||
// the caller's body.
|
||||
if (getLangOpts().AppleKext)
|
||||
CurFn->addFnAttr(llvm::Attribute::AlwaysInline);
|
||||
CurFn->addFnAttr(llvm::Attributes::AlwaysInline);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user