aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2025-04-07 13:32:36 +0100
committerGitHub <noreply@github.com>2025-04-07 13:32:36 +0100
commite2fe78797fa39e22ebb3c65383d1bd30490535e5 (patch)
tree062e8760471528d01a282c4ba27b7aa74eeb04ce /clang/lib/Sema/SemaChecking.cpp
parent9fe6f6a0d430b872750354c20f3e4a651bd1f135 (diff)
downloadllvm-e2fe78797fa39e22ebb3c65383d1bd30490535e5.zip
llvm-e2fe78797fa39e22ebb3c65383d1bd30490535e5.tar.gz
llvm-e2fe78797fa39e22ebb3c65383d1bd30490535e5.tar.bz2
[Clang] Use "syncscope" instead of "synchscope". NFC. (#134616)
This matches the spelling of the keyword in LLVM IR.
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
-rw-r--r--clang/lib/Sema/SemaChecking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index 5a4fa97..c21475e 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -4229,7 +4229,7 @@ ExprResult Sema::BuildAtomicExpr(SourceRange CallRange, SourceRange ExprRange,
if (std::optional<llvm::APSInt> Result =
Scope->getIntegerConstantExpr(Context)) {
if (!ScopeModel->isValid(Result->getZExtValue()))
- Diag(Scope->getBeginLoc(), diag::err_atomic_op_has_invalid_synch_scope)
+ Diag(Scope->getBeginLoc(), diag::err_atomic_op_has_invalid_sync_scope)
<< Scope->getSourceRange();
}
SubExprs.push_back(Scope);