Commit aa33e98
committed
[clang] Fix FP -Wformat in functions with 2+ attribute((format))
When defining functions with two or more format attributes, if the
format strings don't have the same format family, there is a false
positive warning that the incorrect kind of format string is being
passed at forwarded format string call sites.1 parent e7c3386 commit aa33e98
2 files changed
+32
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5934 | 5934 | | |
5935 | 5935 | | |
5936 | 5936 | | |
5937 | | - | |
5938 | | - | |
5939 | | - | |
5940 | | - | |
5941 | | - | |
5942 | | - | |
5943 | | - | |
5944 | | - | |
5945 | | - | |
| 5937 | + | |
| 5938 | + | |
| 5939 | + | |
| 5940 | + | |
| 5941 | + | |
| 5942 | + | |
| 5943 | + | |
| 5944 | + | |
| 5945 | + | |
| 5946 | + | |
| 5947 | + | |
| 5948 | + | |
5946 | 5949 | | |
5947 | | - | |
5948 | | - | |
5949 | 5950 | | |
5950 | 5951 | | |
5951 | 5952 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
499 | 519 | | |
500 | 520 | | |
501 | 521 | | |
| |||
0 commit comments