Commit 3ffa542
[C++23] Fix infinite recursion (Clang 19.x regression) (#104829)
d469794 was fixing an issue with
triggering vtable instantiations, but it accidentally introduced
infinite recursion when the type to be checked is the same as the type
used in a base specifier or field declaration.
Fixes #104802
(cherry picked from commit 435cb0d)1 parent 6dbc0e2 commit 3ffa542
2 files changed
+33
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7056 | 7056 | | |
7057 | 7057 | | |
7058 | 7058 | | |
| 7059 | + | |
7059 | 7060 | | |
7060 | | - | |
| 7061 | + | |
| 7062 | + | |
| 7063 | + | |
7061 | 7064 | | |
7062 | 7065 | | |
7063 | | - | |
| 7066 | + | |
| 7067 | + | |
| 7068 | + | |
7064 | 7069 | | |
7065 | 7070 | | |
7066 | 7071 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
0 commit comments