[PATCH] D71783: gn build: Silence mismatched-new-delete warning in scudo C++ wrapper tests.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 20 16:57:28 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rG71b26f1d1924: gn build: Silence mismatched-new-delete warning in scudo C++ wrapper tests. (authored by pcc).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71783/new/
https://reviews.llvm.org/D71783
Files:
llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/BUILD.gn
Index: llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/BUILD.gn
+++ llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/BUILD.gn
@@ -1,3 +1,4 @@
+import("//llvm/utils/gn/build/toolchain/compiler.gni")
import("//llvm/utils/unittest/unittest.gni")
unittest("ScudoUnitTest") {
@@ -54,5 +55,8 @@
"scudo_unit_test_main.cpp",
"wrappers_cpp_test.cpp",
]
+ if (is_clang) {
+ cflags = [ "-Wno-mismatched-new-delete" ]
+ }
has_custom_main = true
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71783.234991.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191221/07860f1e/attachment.bin>
More information about the llvm-commits
mailing list