Skip to content

Commit 8959494

Browse files
aeubanksCommit Bot
authored andcommitted
Add -Wno-string-concatenation to test/cctest:cctest_sources
v8/test/cctest/interpreter/test-bytecode-generator.cc contains lots of string arrays with intentional concatenation. Bug: chromium:1114873 Change-Id: Ie9d35c3849b5b0a6d1d01b6ce21fb80a320d8736 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2366829 Commit-Queue: Arthur Eubanks <[email protected]> Reviewed-by: Sathya Gunasekaran <[email protected]> Cr-Commit-Position: refs/heads/master@{#69625}
1 parent a96715b commit 8959494

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

test/cctest/BUILD.gn

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ v8_header_set("cctest_headers") {
6060
sources = [ "cctest.h" ]
6161
}
6262

63+
config("cctest_sources_config") {
64+
if (is_clang) {
65+
cflags = [ "-Wno-string-concatenation" ]
66+
}
67+
}
68+
6369
v8_source_set("cctest_sources") {
6470
testonly = true
6571

@@ -401,6 +407,7 @@ v8_source_set("cctest_sources") {
401407
"../..:external_config",
402408
"../..:internal_config_base",
403409
"../..:v8_tracing_config",
410+
":cctest_sources_config",
404411
]
405412

406413
public_deps = [

0 commit comments

Comments
 (0)