diff options
| author | Bill Wendling <isanbard@gmail.com> | 2012-12-07 23:17:26 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2012-12-07 23:17:26 +0000 |
| commit | 3087d026da6ad5d201497c0703ec876463180cfa (patch) | |
| tree | 5d96a91771c2047af50532506d6354e70e774264 /clang/lib/CodeGen/TargetInfo.cpp | |
| parent | e94d843e43d1b87f843de276381eaf9b13b487dd (diff) | |
| download | bcm5719-llvm-3087d026da6ad5d201497c0703ec876463180cfa.tar.gz bcm5719-llvm-3087d026da6ad5d201497c0703ec876463180cfa.zip | |
s/AttrListPtr/AttributeSet/g to better label what this class is going to be in the near future.
llvm-svn: 169652
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.cpp')
| -rw-r--r-- | clang/lib/CodeGen/TargetInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index 02f451a4203..61128c401c5 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/lib/CodeGen/TargetInfo.cpp @@ -1019,7 +1019,7 @@ void X86_32TargetCodeGenInfo::SetTargetAttributes(const Decl *D, // Now add the 'alignstack' attribute with a value of 16. llvm::AttrBuilder B; B.addStackAlignmentAttr(16); - Fn->addAttribute(llvm::AttrListPtr::FunctionIndex, + Fn->addAttribute(llvm::AttributeSet::FunctionIndex, llvm::Attributes::get(CGM.getLLVMContext(), B)); } } |

