зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1804375 - Re-enable clang -Wnull-dereference warnings in gtest. r=firefox-build-system-reviewers,glandium
Bug 1324242 disabled clang's -Wnull-dereference warnings in gtest code, but this warning can be re-enabled because the current version of gtest doesn't trigger these warnings. Differential Revision: https://phabricator.services.mozilla.com/D164027
This commit is contained in:
Родитель
40ba4494af
Коммит
ef0d94bcbc
|
@ -27,8 +27,6 @@ UNIFIED_SOURCES = [
|
|||
# to work around, so we just ignore it.
|
||||
if CONFIG["CC_TYPE"] == "clang":
|
||||
CXXFLAGS += ["-Wno-inconsistent-missing-override"]
|
||||
# Workaround bug 1142396. Suppress the warning from gmock library for clang.
|
||||
CXXFLAGS += ["-Wno-null-dereference"]
|
||||
|
||||
FINAL_LIBRARY = "xul-gtest"
|
||||
|
||||
|
|
|
@ -23,8 +23,4 @@ LOCAL_INCLUDES += [
|
|||
"/layout/style",
|
||||
]
|
||||
|
||||
# Workaround bug 1142396. Suppress the warning from gmock library for clang.
|
||||
if CONFIG["CC_TYPE"] == "clang":
|
||||
CXXFLAGS += ["-Wno-null-dereference"]
|
||||
|
||||
FINAL_LIBRARY = "xul-gtest"
|
||||
|
|
|
@ -19,8 +19,6 @@ UNIFIED_SOURCES = [
|
|||
# to work around, so we just ignore it.
|
||||
if CONFIG["CC_TYPE"] == "clang":
|
||||
CXXFLAGS += ["-Wno-inconsistent-missing-override"]
|
||||
# Workaround bug 1142396. Suppress the warning from gmock library for clang.
|
||||
CXXFLAGS += ["-Wno-null-dereference"]
|
||||
|
||||
FINAL_LIBRARY = "xul-gtest"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче