Bug 1316545 part 6 - Suppress the warning of invalid noreturn. r?ehsan draft
authorTing-Yu Chou <janus926@gmail.com>
Fri, 25 Nov 2016 16:22:00 +0800
changeset 446210 eadedc55e2241d602597cd71d4e9f0e1ab011e02
parent 446209 2d4124215f20688dcb6c20e6a4f70d13bd5d6fed
child 538729 8155b0fb2aeef41b40fb87ff37635a7130420a6c
push id37726
push userbmo:janus926@gmail.com
push dateThu, 01 Dec 2016 03:26:49 +0000
reviewersehsan
bugs1316545
milestone53.0a1
Bug 1316545 part 6 - Suppress the warning of invalid noreturn. r?ehsan MozReview-Commit-ID: CXt1DezWsgL
build/clang-plugin/tests/Makefile.in
--- a/build/clang-plugin/tests/Makefile.in
+++ b/build/clang-plugin/tests/Makefile.in
@@ -1,16 +1,16 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 # Build without any warning flags, and with clang verify flag for a
 # syntax-only build (no codegen), without a limit on the number of errors.
-OS_CFLAGS := $(filter-out -W%,$(OS_CFLAGS)) -fsyntax-only -Xclang -verify -ferror-limit=0 -std=c11
-OS_CXXFLAGS := $(filter-out -W%,$(OS_CXXFLAGS)) -fsyntax-only -Xclang -verify -ferror-limit=0
+OS_CFLAGS := $(filter-out -W%,$(OS_CFLAGS)) -fsyntax-only -Xclang -verify -ferror-limit=0 -std=c11 -Wno-invalid-noreturn
+OS_CXXFLAGS := $(filter-out -W%,$(OS_CXXFLAGS)) -fsyntax-only -Xclang -verify -ferror-limit=0 -Wno-invalid-noreturn
 
 include $(topsrcdir)/config/rules.mk
 
 target:: $(OBJS)
 
 # We don't actually build anything.
 .PHONY: $(OBJS)