diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-10 03:13:20 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-10 03:13:20 +0000 |
commit | fac631052809b59c1b66f687c08a743de7fb50e9 (patch) | |
tree | 736ed92e2a2c52864a1e9dfe4c4edb6bad34c614 /lib/CodeGen/CGClass.cpp | |
parent | 93cd6e8e17a40ee6fe1f17ab74d841e1f4fe9351 (diff) |
Have 'addFnAttr' take the attribute enum value. Then have it build the attribute object and add it appropriately. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGClass.cpp')
-rw-r--r-- | lib/CodeGen/CGClass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGClass.cpp b/lib/CodeGen/CGClass.cpp index 84c43b8881..6d36901652 100644 --- a/lib/CodeGen/CGClass.cpp +++ b/lib/CodeGen/CGClass.cpp @@ -953,7 +953,7 @@ void CodeGenFunction::EmitDestructorBody(FunctionArgList &Args) { // -fapple-kext must inline any call to this dtor into // the caller's body. if (getContext().getLangOpts().AppleKext) - CurFn->addFnAttr(llvm::Attribute::AlwaysInline); + CurFn->addFnAttr(llvm::Attributes::AlwaysInline); break; } |