diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-11-02 08:14:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-11-02 09:31:55 +0100 |
commit | c1f95f01e0239a16a3b904864a2b5310016b93a7 (patch) | |
tree | 0052a1d1926e5ea222bddd4151e5e9830ce5432a /compilerplugins | |
parent | 6831dffe05fad2bcf7a1db1974bd0be11e6dbff9 (diff) |
Fix typo
...spotted by Ilmari
Change-Id: I7414d77d91a4d11d16de1417e60cddf72a0746c9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158782
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/compat.hxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/cstylecast.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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; } |