Bug 1316545 part 6 - Suppress the warning of invalid noreturn. r=ehsan
authorTing-Yu Chou <janus926@gmail.com>
Fri, 25 Nov 2016 16:22:00 +0800
changeset 325126 ad869ab08f361410311b75b33347035733ba93a3
parent 325125 8a86e67f78c60c44a4ce2aac416e8835a76351a4
child 325127 b03bd6dc3d8fc7cff3b9f9ffbade5fca97baea63
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +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)