diff options
author | Jay Foad <jay.foad@amd.com> | 2025-04-07 13:32:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-07 13:32:36 +0100 |
commit | e2fe78797fa39e22ebb3c65383d1bd30490535e5 (patch) | |
tree | 062e8760471528d01a282c4ba27b7aa74eeb04ce /clang/lib/Sema/SemaChecking.cpp | |
parent | 9fe6f6a0d430b872750354c20f3e4a651bd1f135 (diff) | |
download | llvm-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.cpp | 2 |
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); |