...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>
This commit is contained in:
Stephan Bergmann
2023-11-02 09:31:55 +01:00
parent 6831dffe05
commit c1f95f01e0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;
}