Commit b5b702e
committed
[Stdlib] Enable -Wformat-nonliteral and make it an error.
Turn on -Wformat-nonliteral so that any format string that is passed through
a variable is turned into an error. There are a variety of reasonable ways
of fixing these where they occur, and it's safer to have this switched on.
rdar://845718591 parent 920bcc2 commit b5b702e
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
| |||
0 commit comments