Skip to content

Commit 26efd1d

Browse files
committed
Fix comments as suggested in review
1 parent aa71625 commit 26efd1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/lib/AST/StmtOpenACC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ OpenACCAtomicConstruct::getAssociatedStmtInfo() const {
347347
case OpenACCAtomicKind::None:
348348
case OpenACCAtomicKind::Update:
349349
case OpenACCAtomicKind::Capture:
350-
assert(false && "Only 'read'/'write' has been implemented here");
350+
assert(false && "Only 'read'/'write' have been implemented here");
351351
return {};
352352
case OpenACCAtomicKind::Read: {
353353
// Read only supports the format 'v = x'; where both sides are a scalar

clang/lib/CIR/CodeGen/CIRGenStmtOpenACC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ CIRGenFunction::emitOpenACCCacheConstruct(const OpenACCCacheConstruct &s) {
307307
mlir::LogicalResult
308308
CIRGenFunction::emitOpenACCAtomicConstruct(const OpenACCAtomicConstruct &s) {
309309
// For now, we are only support 'read'/'write', so diagnose. We can switch on
310-
// the kind later once we start implementing the other 3 forms. While we
310+
// the kind later once we start implementing the other 2 forms. While we
311311
if (s.getAtomicKind() != OpenACCAtomicKind::Read &&
312312
s.getAtomicKind() != OpenACCAtomicKind::Write) {
313313
cgm.errorNYI(s.getSourceRange(), "OpenACC Atomic Construct");

0 commit comments

Comments
 (0)