diff options
author | John McCall <rjmccall@apple.com> | 2016-03-11 04:30:31 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2016-03-11 04:30:31 +0000 |
commit | c56a8b32840eec263276cd4eddf84a09d1d42e3f (patch) | |
tree | 17f8238d29ea50b65187fee7f447bcc555ecffe7 /clang/lib/CodeGen/CGStmtOpenMP.cpp | |
parent | e98095026f2ca2466e24df8727fb56677ecab649 (diff) | |
download | bcm5719-llvm-c56a8b32840eec263276cd4eddf84a09d1d42e3f.tar.gz bcm5719-llvm-c56a8b32840eec263276cd4eddf84a09d1d42e3f.zip |
Preserve ExtParameterInfos into CGFunctionInfo.
As part of this, make the function-arrangement interfaces
a little simpler and more semantic.
NFC.
llvm-svn: 263191
Diffstat (limited to 'clang/lib/CodeGen/CGStmtOpenMP.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGStmtOpenMP.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp index 808af527a39..eb62428eb38 100644 --- a/clang/lib/CodeGen/CGStmtOpenMP.cpp +++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp @@ -173,8 +173,7 @@ CodeGenFunction::GenerateOpenMPCapturedStmtFunction(const CapturedStmt &S) { // Create the function declaration. FunctionType::ExtInfo ExtInfo; const CGFunctionInfo &FuncInfo = - CGM.getTypes().arrangeFreeFunctionDeclaration(Ctx.VoidTy, Args, ExtInfo, - /*IsVariadic=*/false); + CGM.getTypes().arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, Args); llvm::FunctionType *FuncLLVMTy = CGM.getTypes().GetFunctionType(FuncInfo); llvm::Function *F = llvm::Function::Create( |