Skip to content

Commit 9bdaf86

Browse files
committed
fix: diable warning from third party code
1 parent 5fbb553 commit 9bdaf86

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.clang-tidy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Checks: >
1111
misc-unused-alias-decls,
1212
misc-unused-using-decls,
1313
-clang-analyzer-optin.core.EnumCastOutOfRange,
14+
-clang-analyzer-optin.cplusplus.UninitializedObject,
1415
-cppcoreguidelines-avoid-do-while,
1516
-cppcoreguidelines-avoid-c-arrays,
1617
-cppcoreguidelines-pro-type-reinterpret-cast,

cmake/lint.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ add_custom_target(clang-tidy
1515
-p=${CMAKE_BINARY_DIR}
1616
-clang-tidy-binary=${CLANG_TIDY}
1717
-extra-arg=--sysroot=${WASI_SYSROOT}
18-
-extra-arg=-isystem${CMAKE_BINARY_DIR}/spidermonkey-obj/dist/include
1918
-config-file=${CMAKE_SOURCE_DIR}/.clang-tidy
2019
${CMAKE_SOURCE_DIR}/builtins
2120
${CMAKE_SOURCE_DIR}/runtime
@@ -30,7 +29,6 @@ add_custom_target(clang-tidy-fix
3029
-clang-tidy-binary=${CLANG_TIDY}
3130
-clang-apply-replacements-binary=${CLANG_APPLY_REPLACEMENTS}
3231
-extra-arg=--sysroot=${WASI_SYSROOT}
33-
-extra-arg=-isystem${CMAKE_BINARY_DIR}/spidermonkey-obj/dist/include
3432
-config-file=${CMAKE_SOURCE_DIR}/.clang-tidy
3533
-fix
3634
${CMAKE_SOURCE_DIR}/builtins

0 commit comments

Comments
 (0)