File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed
Firestore/third_party/abseil-cpp/absl/copts Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,10 @@ list(APPEND ABSL_CLANG_CL_FLAGS
52
52
"-Wobjc-literal-conversion"
53
53
"-Wno-sign-conversion"
54
54
"-Wstring-conversion"
55
+ "-Wno-shadow"
56
+ "-Wno-unused-member-function"
57
+ "-Wno-tautological-type-limit-compare"
58
+ "-Wno-unused-template"
55
59
"/DNOMINMAX"
56
60
"/DWIN32_LEAN_AND_MEAN"
57
61
"/D_CRT_SECURE_NO_WARNINGS"
@@ -160,6 +164,10 @@ list(APPEND ABSL_LLVM_FLAGS
160
164
"-Wobjc-literal-conversion"
161
165
"-Wno-sign-conversion"
162
166
"-Wstring-conversion"
167
+ "-Wno-shadow"
168
+ "-Wno-unused-member-function"
169
+ "-Wno-tautological-type-limit-compare"
170
+ "-Wno-unused-template"
163
171
)
164
172
165
173
list (APPEND ABSL_LLVM_TEST_FLAGS
Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ ABSL_CLANG_CL_FLAGS = [
53
53
"-Wobjc-literal-conversion" ,
54
54
"-Wno-sign-conversion" ,
55
55
"-Wstring-conversion" ,
56
+ "-Wno-shadow" ,
57
+ "-Wno-unused-member-function" ,
58
+ "-Wno-tautological-type-limit-compare" ,
59
+ "-Wno-unused-template" ,
56
60
"/DNOMINMAX" ,
57
61
"/DWIN32_LEAN_AND_MEAN" ,
58
62
"/D_CRT_SECURE_NO_WARNINGS" ,
@@ -161,6 +165,10 @@ ABSL_LLVM_FLAGS = [
161
165
"-Wobjc-literal-conversion" ,
162
166
"-Wno-sign-conversion" ,
163
167
"-Wstring-conversion" ,
168
+ "-Wno-shadow" ,
169
+ "-Wno-unused-member-function" ,
170
+ "-Wno-tautological-type-limit-compare" ,
171
+ "-Wno-unused-template" ,
164
172
]
165
173
166
174
ABSL_LLVM_TEST_FLAGS = [
Original file line number Diff line number Diff line change 84
84
"-Wobjc-literal-conversion" ,
85
85
"-Wno-sign-conversion" ,
86
86
"-Wstring-conversion" ,
87
+
88
+ # Additional flags added to make Firestore builds warning-clean
89
+ "-Wno-shadow" ,
90
+ "-Wno-unused-member-function" ,
91
+ "-Wno-tautological-type-limit-compare" ,
92
+ "-Wno-unused-template" ,
87
93
]
88
94
89
95
LLVM_TEST_DISABLE_WARNINGS_FLAGS = [
You can’t perform that action at this time.
0 commit comments