r235253 - Make helper function static. NFC.
Benjamin Kramer
benny.kra at googlemail.com
Sat Apr 18 03:00:10 PDT 2015
Author: d0k
Date: Sat Apr 18 05:00:10 2015
New Revision: 235253
URL: http://llvm.org/viewvc/llvm-project?rev=235253&view=rev
Log:
Make helper function static. NFC.
Modified:
cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp
Modified: cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp?rev=235253&r1=235252&r2=235253&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp Sat Apr 18 05:00:10 2015
@@ -1469,9 +1469,9 @@ static void EmitOMPAtomicWriteExpr(CodeG
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
More information about the cfe-commits
mailing list