aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-20 19:22:21 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-20 19:22:21 +0000
commitad017fa7a4df7389d245d02a49b3c79ed70bedb9 (patch)
treebcbd290037266bae92bfb10705c40e830ea71a07 /lib/CodeGen/CGClass.cpp
parenta367a0236211dd2c81a363c4b47b40e0ac6a8797 (diff)
Revert r170500. It over-zealously converted *ALL* things named Attributes, which is wrong here.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGClass.cpp')
-rw-r--r--lib/CodeGen/CGClass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGClass.cpp b/lib/CodeGen/CGClass.cpp
index 4e0fe9a58b..5d93a8bfef 100644
--- a/lib/CodeGen/CGClass.cpp
+++ b/lib/CodeGen/CGClass.cpp
@@ -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;
}