mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
ClangPlugins: Add -Wno-unqualified-std-cast-call to test compile options
We globally export std::move and std::forward in StdLibExtraDetails.h.
This commit is contained in:
parent
660e846e94
commit
f52bb43673
Notes:
github-actions[bot]
2024-08-26 21:25:44 +00:00
Author: https://github.com/trflynn89
Commit: f52bb43673
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1197
1 changed files with 8 additions and 1 deletions
|
@ -4,7 +4,14 @@ include(AddLLVM)
|
|||
find_package(Python3 REQUIRED COMPONENTS Interpreter)
|
||||
|
||||
get_property(CLANG_PLUGINS_COMPILE_OPTIONS_FOR_TESTS GLOBAL PROPERTY CLANG_PLUGINS_COMPILE_OPTIONS_FOR_TESTS)
|
||||
list(APPEND CLANG_PLUGINS_COMPILE_OPTIONS_FOR_TESTS -std=c++23 -Wno-user-defined-literals -Wno-literal-range -Wno-unknown-warning-option)
|
||||
|
||||
list(APPEND CLANG_PLUGINS_COMPILE_OPTIONS_FOR_TESTS
|
||||
-std=c++23
|
||||
-Wno-user-defined-literals
|
||||
-Wno-literal-range
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-unqualified-std-cast-call
|
||||
)
|
||||
|
||||
# Ensure we always check for invalid function field types regardless of the value of ENABLE_CLANG_PLUGINS_INVALID_FUNCTION_MEMBERS
|
||||
# FIXME: Enabling this with lit and llvm 18 seems to not work as expected
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue