From 0d5833921cc728bc1d2e45fbaf7b3e11cddbf99d Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 15 Oct 2012 20:36:26 +0000 Subject: Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165961 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGExpr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen/CGExpr.cpp') diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index c62b1b1073..809c1c1517 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -2081,7 +2081,7 @@ void CodeGenFunction::EmitCheck(llvm::Value *Checked, StringRef CheckName, llvm::FunctionType *FnType = llvm::FunctionType::get(CGM.VoidTy, ArgTypes, false); - llvm::Attributes::Builder B; + llvm::AttrBuilder B; B.addAttribute(llvm::Attributes::NoReturn) .addAttribute(llvm::Attributes::NoUnwind) .addAttribute(llvm::Attributes::UWTable); -- cgit v1.2.3