mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Merge pull request #10133 from lat9nq/clang-shadow-and-fallthrough
CMakeLists: Enable more checks on Clang
This commit is contained in:
commit
451b1bba26
1 changed files with 3 additions and 0 deletions
|
@ -113,6 +113,9 @@ else()
|
||||||
|
|
||||||
$<$<CXX_COMPILER_ID:Clang>:-Wno-braced-scalar-init>
|
$<$<CXX_COMPILER_ID:Clang>:-Wno-braced-scalar-init>
|
||||||
$<$<CXX_COMPILER_ID:Clang>:-Wno-unused-private-field>
|
$<$<CXX_COMPILER_ID:Clang>:-Wno-unused-private-field>
|
||||||
|
$<$<CXX_COMPILER_ID:Clang>:-Werror=shadow-uncaptured-local>
|
||||||
|
$<$<CXX_COMPILER_ID:Clang>:-Werror=implicit-fallthrough>
|
||||||
|
$<$<CXX_COMPILER_ID:Clang>:-Werror=type-limits>
|
||||||
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-braced-scalar-init>
|
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-braced-scalar-init>
|
||||||
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-unused-private-field>
|
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-unused-private-field>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue