Commit e7b78ff
authored
Backport
This adds the Clang 3.8 `-Wdouble-promotion` warning group to DXC. This
is added as part of the mitigations for the HLSL 202x conforming
literals feature which (among other things) changes the conversion rank
of unsuffixed literal values.
Resolves #6571-Wdouble-promotion from Clang 3.8 (#6574)1 parent 0c45099 commit e7b78ff
4 files changed
Lines changed: 339 additions & 2 deletions
File tree
- tools/clang
- include/clang/Basic
- lib/Sema
- test/SemaHLSL
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2639 | 2639 | | |
2640 | 2640 | | |
2641 | 2641 | | |
| 2642 | + | |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
2642 | 2649 | | |
2643 | 2650 | | |
2644 | 2651 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7135 | 7135 | | |
7136 | 7136 | | |
7137 | 7137 | | |
7138 | | - | |
| 7138 | + | |
| 7139 | + | |
7139 | 7140 | | |
7140 | 7141 | | |
| 7142 | + | |
| 7143 | + | |
7141 | 7144 | | |
7142 | 7145 | | |
7143 | | - | |
| 7146 | + | |
7144 | 7147 | | |
7145 | 7148 | | |
7146 | 7149 | | |
| |||
7156 | 7159 | | |
7157 | 7160 | | |
7158 | 7161 | | |
| 7162 | + | |
| 7163 | + | |
7159 | 7164 | | |
| 7165 | + | |
7160 | 7166 | | |
7161 | 7167 | | |
7162 | 7168 | | |
| |||
0 commit comments