Bug 1169974 part 2: Tell clang to ignore inconsistent-missing-override warnings for MOCK_METHOD2 macro from gtests. r=njn

This commit is contained in:
Daniel Holbert 2015-09-24 16:16:14 -07:00
parent 842dd1cf5a
commit 0fa3772aff
2 changed files with 2 additions and 2 deletions

View File

@ -24,6 +24,6 @@ UNIFIED_SOURCES = [
# THE MOCK_METHOD2 macro from gtest triggers this clang warning and it's hard
# to work around, so we just ignore it.
if CONFIG['CLANG_CXX']:
CXXFLAGS += ['-Wno-error=inconsistent-missing-override']
CXXFLAGS += ['-Wno-inconsistent-missing-override']
FINAL_LIBRARY = 'xul-gtest'

View File

@ -12,7 +12,7 @@ UNIFIED_SOURCES += [
# THE MOCK_METHOD2 macro from gtest triggers this clang warning and it's hard
# to work around, so we just ignore it.
if CONFIG['CLANG_CXX']:
CXXFLAGS += ['-Wno-error=inconsistent-missing-override']
CXXFLAGS += ['-Wno-inconsistent-missing-override']
include('/ipc/chromium/chromium-config.mozbuild')