compilerplugins/clang/compat.hxx | 2 +- compilerplugins/clang/cstylecast.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit c1f95f01e0239a16a3b904864a2b5310016b93a7 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Nov 2 08:14:56 2023 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Nov 2 09:31:55 2023 +0100 Fix typo ...spotted by Ilmari Change-Id: I7414d77d91a4d11d16de1417e60cddf72a0746c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158782 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx index 650d187070e0..21a3c4ae4018 100644 --- a/compilerplugins/clang/compat.hxx +++ b/compilerplugins/clang/compat.hxx @@ -82,7 +82,7 @@ constexpr clang::ExprValueKind VK_PRValue = clang::VK_PRValue; constexpr clang::ExprValueKind VK_PRValue = clang::VK_RValue; #endif -namespace ElabortatedTypeKeyword +namespace ElaboratedTypeKeyword { #if CLANG_VERSION >= 180000 constexpr clang::ElaboratedTypeKeyword None = clang::ElaboratedTypeKeyword::None; diff --git a/compilerplugins/clang/cstylecast.cxx b/compilerplugins/clang/cstylecast.cxx index 2360606aff55..d51eb75b3df2 100644 --- a/compilerplugins/clang/cstylecast.cxx +++ b/compilerplugins/clang/cstylecast.cxx @@ -161,7 +161,7 @@ bool canBeUsedForFunctionalCast(TypeSourceInfo const * info) { return true; } if (auto const t = dyn_cast<ElaboratedType>(type)) { - return t->getKeyword() == compat::ElabortatedTypeKeyword::None; + return t->getKeyword() == compat::ElaboratedTypeKeyword::None; } return false; }