Skip to content

Commit 9fa23e4

Browse files
authored
[NFC][Clang] Fix typo memody->memory (#160141)
Fix typo memody->memory
1 parent ef2c094 commit 9fa23e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaAMDGPU.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ bool SemaAMDGPU::CheckAMDGCNBuiltinFunctionCall(unsigned BuiltinID,
122122
<< ArgExpr->getType();
123123
auto Ord = ArgResult.Val.getInt().getZExtValue();
124124

125-
// Check validity of memory ordering as per C11 / C++11's memody model.
125+
// Check validity of memory ordering as per C11 / C++11's memory model.
126126
// Only fence needs check. Atomic dec/inc allow all memory orders.
127127
if (!llvm::isValidAtomicOrderingCABI(Ord))
128128
return Diag(ArgExpr->getBeginLoc(),

0 commit comments

Comments
 (0)