mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
gn build: Silence mismatched-new-delete warning in scudo C++ wrapper tests.
These tests are deliberately mismatching new and delete, so the warnings are just noise. Differential Revision: https://reviews.llvm.org/D71783
This commit is contained in:
parent
522b2762d7
commit
bb2d372edc
@ -1,3 +1,4 @@
|
||||
import("//llvm/utils/gn/build/toolchain/compiler.gni")
|
||||
import("//llvm/utils/unittest/unittest.gni")
|
||||
|
||||
unittest("ScudoUnitTest") {
|
||||
@ -54,5 +55,8 @@ unittest("ScudoCxxUnitTest") {
|
||||
"scudo_unit_test_main.cpp",
|
||||
"wrappers_cpp_test.cpp",
|
||||
]
|
||||
if (is_clang) {
|
||||
cflags = [ "-Wno-mismatched-new-delete" ]
|
||||
}
|
||||
has_custom_main = true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user