diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-04-18 10:00:10 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-04-18 10:00:10 +0000 |
commit | 5df7c1a4eb5fe06295ddfc7c4638017ac2c01d87 (patch) | |
tree | 057400caaf8d605b2c5d757136dda1b9e87623cf /clang/lib/CodeGen/CGStmtOpenMP.cpp | |
parent | adfd1b730cda9c2f7b5e1a14aaa7b9d078ac24ab (diff) | |
download | bcm5719-llvm-5df7c1a4eb5fe06295ddfc7c4638017ac2c01d87.tar.gz bcm5719-llvm-5df7c1a4eb5fe06295ddfc7c4638017ac2c01d87.zip |
Make helper function static. NFC.
llvm-svn: 235253
Diffstat (limited to 'clang/lib/CodeGen/CGStmtOpenMP.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGStmtOpenMP.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp index aa537560098..1541ba687cf 100644 --- a/clang/lib/CodeGen/CGStmtOpenMP.cpp +++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp @@ -1469,9 +1469,9 @@ static void EmitOMPAtomicWriteExpr(CodeGenFunction &CGF, bool IsSeqCst, CGF.CGM.getOpenMPRuntime().emitFlush(CGF, llvm::None, Loc); } -bool emitOMPAtomicRMW(CodeGenFunction &CGF, LValue X, RValue Update, - BinaryOperatorKind BO, llvm::AtomicOrdering AO, - bool IsXLHSInRHSPart) { +static bool emitOMPAtomicRMW(CodeGenFunction &CGF, LValue X, RValue Update, + BinaryOperatorKind BO, llvm::AtomicOrdering AO, + bool IsXLHSInRHSPart) { auto &Context = CGF.CGM.getContext(); // Allow atomicrmw only if 'x' and 'update' are integer values, lvalue for 'x' // expression is simple and atomic is allowed for the given type for the |