diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-05-01 13:59:53 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-05-01 13:59:53 +0000 |
commit | 439ee9d7bc8e9eb6936dd6663706282127558805 (patch) | |
tree | dcd5368fdbbe340faefe08c30cec53a91a018d44 /clang/lib/CodeGen/CGOpenMPRuntime.cpp | |
parent | 097c21520e8d3732e7146d3225478516f3915f6a (diff) | |
download | bcm5719-llvm-439ee9d7bc8e9eb6936dd6663706282127558805.tar.gz bcm5719-llvm-439ee9d7bc8e9eb6936dd6663706282127558805.zip |
Make helper functions static. NFC.
llvm-svn: 236315
Diffstat (limited to 'clang/lib/CodeGen/CGOpenMPRuntime.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGOpenMPRuntime.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp index 1dbf0e55687..b89f0c0676c 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp +++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp @@ -1740,11 +1740,10 @@ emitProxyTaskFunction(CodeGenModule &CGM, SourceLocation Loc, return TaskEntry; } -llvm::Value *emitDestructorsFunction(CodeGenModule &CGM, SourceLocation Loc, - QualType KmpInt32Ty, - QualType KmpTaskTPtrQTy, - QualType KmpTaskQTy, - RecordDecl *KmpTaskQTyRD) { +static llvm::Value * +emitDestructorsFunction(CodeGenModule &CGM, SourceLocation Loc, + QualType KmpInt32Ty, QualType KmpTaskTPtrQTy, + QualType KmpTaskQTy, RecordDecl *KmpTaskQTyRD) { auto &C = CGM.getContext(); FunctionArgList Args; ImplicitParamDecl GtidArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, KmpInt32Ty); |