r218244 - removed unicode symbols from comments.
Alexey Bataev
a.bataev at hotmail.com
Mon Sep 22 05:32:31 PDT 2014
Author: abataev
Date: Mon Sep 22 07:32:31 2014
New Revision: 218244
URL: http://llvm.org/viewvc/llvm-project?rev=218244&view=rev
Log:
removed unicode symbols from comments.
Modified:
cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp
cfe/trunk/lib/CodeGen/CGOpenMPRuntime.h
Modified: cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp?rev=218244&r1=218243&r2=218244&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp Mon Sep 22 07:32:31 2014
@@ -198,8 +198,8 @@ CGOpenMPRuntime::CreateRuntimeFunction(O
break;
}
case OMPRTL__kmpc_critical: {
- // Build void __kmpc_critical(ident_t âloc, kmp_int32 global_tid,
- // kmp_critical_name âcrit);
+ // Build void __kmpc_critical(ident_t *loc, kmp_int32 global_tid,
+ // kmp_critical_name *crit);
llvm::Type *TypeParams[] = {
getIdentTyPointerTy(), CGM.Int32Ty,
llvm::PointerType::getUnqual(KmpCriticalNameTy)};
@@ -209,8 +209,8 @@ CGOpenMPRuntime::CreateRuntimeFunction(O
break;
}
case OMPRTL__kmpc_end_critical: {
- // Build void __kmpc_end_critical(ident_t âloc, kmp_int32 global_tid,
- // kmp_critical_name âcrit);
+ // Build void __kmpc_end_critical(ident_t *loc, kmp_int32 global_tid,
+ // kmp_critical_name *crit);
llvm::Type *TypeParams[] = {
getIdentTyPointerTy(), CGM.Int32Ty,
llvm::PointerType::getUnqual(KmpCriticalNameTy)};
@@ -253,7 +253,7 @@ void CGOpenMPRuntime::EmitOMPCriticalReg
void CGOpenMPRuntime::EmitOMPCriticalRegionEnd(CodeGenFunction &CGF,
llvm::Value *RegionLock,
SourceLocation Loc) {
- // Prepare other arguments and build a call to __kmpc_critical
+ // Prepare other arguments and build a call to __kmpc_end_critical
llvm::Value *Args[] = {EmitOpenMPUpdateLocation(CGF, Loc),
GetOpenMPGlobalThreadNum(CGF, Loc), RegionLock};
auto RTLFn =
Modified: cfe/trunk/lib/CodeGen/CGOpenMPRuntime.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGOpenMPRuntime.h?rev=218244&r1=218243&r2=218244&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGOpenMPRuntime.h (original)
+++ cfe/trunk/lib/CodeGen/CGOpenMPRuntime.h Mon Sep 22 07:32:31 2014
@@ -71,11 +71,11 @@ public:
OMPRTL__kmpc_fork_call,
// Call to __kmpc_int32 kmpc_global_thread_num(ident_t *loc);
OMPRTL__kmpc_global_thread_num,
- // Call to void __kmpc_critical(ident_t âloc, kmp_int32 global_tid,
- // kmp_critical_name âcrit);
+ // Call to void __kmpc_critical(ident_t *loc, kmp_int32 global_tid,
+ // kmp_critical_name *crit);
OMPRTL__kmpc_critical,
- // Call to void __kmpc_end_critical(ident_t âloc, kmp_int32 global_tid,
- // kmp_critical_name âcrit);
+ // Call to void __kmpc_end_critical(ident_t *loc, kmp_int32 global_tid,
+ // kmp_critical_name *crit);
OMPRTL__kmpc_end_critical
};
@@ -190,8 +190,8 @@ public:
llvm::Value *GetCriticalRegionLock(StringRef CriticalName);
/// \brief Emits start of the critical region by calling void
- /// __kmpc_critical(ident_t âloc, kmp_int32 global_tid, kmp_critical_name
- /// â\a RegionLock)
+ /// __kmpc_critical(ident_t *loc, kmp_int32 global_tid, kmp_critical_name
+ /// * \a RegionLock)
/// \param CGF Reference to current CodeGenFunction.
/// \param RegionLock The lock object for critical region.
/// \param Loc Location of the construct.
@@ -200,8 +200,8 @@ public:
SourceLocation Loc);
/// \brief Emits end of the critical region by calling void
- /// __kmpc_end_critical(ident_t âloc, kmp_int32 global_tid, kmp_critical_name
- /// â\a RegionLock)
+ /// __kmpc_end_critical(ident_t *loc, kmp_int32 global_tid, kmp_critical_name
+ /// * \a RegionLock)
/// \param CGF Reference to current CodeGenFunction.
/// \param RegionLock The lock object for critical region.
/// \param Loc Location of the construct.
More information about the cfe-commits
mailing list