Commit 6a581f7
authored
[clang] fix incorrect assumption about function type 's ExtInfo (#157925)
This fixes an assumption that the ExtInfo for two same function types
would have referential equality.
This should compare these ExtInfos by value instead.
The bug is pre-existing to
#147835, but that PR adds
another way to reproduce it.1 parent 9e778f6 commit 6a581f7
File tree
3 files changed
+32
-1
lines changed- clang
- docs
- lib/AST
- test/SemaCXX
3 files changed
+32
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
353 | 356 | | |
354 | 357 | | |
355 | 358 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14195 | 14195 | | |
14196 | 14196 | | |
14197 | 14197 | | |
14198 | | - | |
| 14198 | + | |
| 14199 | + | |
| 14200 | + | |
| 14201 | + | |
| 14202 | + | |
14199 | 14203 | | |
14200 | 14204 | | |
14201 | 14205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
0 commit comments