mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00
Disable range-loop-analysis when use_xcode_clang=true.
Bug: None Change-Id: Ifc1c015150a075f3afa55288d3f669fc414ee8c2 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/217884 Reviewed-by: Florent Castelli <orphis@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33952}
This commit is contained in:
parent
c9625f09de
commit
0133a64d2a
1 changed files with 7 additions and 0 deletions
7
BUILD.gn
7
BUILD.gn
|
@ -354,6 +354,13 @@ config("common_config") {
|
|||
# recognize.
|
||||
cflags += [ "-Wunused-lambda-capture" ]
|
||||
}
|
||||
|
||||
if (use_xcode_clang) {
|
||||
# This may be removed if the clang version in xcode > 12.4 includes the
|
||||
# fix https://reviews.llvm.org/D73007.
|
||||
# https://bugs.llvm.org/show_bug.cgi?id=44556
|
||||
cflags += [ "-Wno-range-loop-analysis" ]
|
||||
}
|
||||
}
|
||||
|
||||
if (is_win && !is_clang) {
|
||||
|
|
Loading…
Reference in a new issue