Jon Ross-Perkins
d958caaff3
Refactor CheckIsAllowedRedecl and stop function definition merging ( #4800 )
...
Rename `CheckIsAllowedRedecl` to `DiagnoseIfInvalidRedecl` to try to
better document behavior, and clean up comments.
This extends the no-merge-if-defined behavior to functions. It was
already the case for class/interface, and just added for impl, so if
anything functions were now inconsistent. I was kind of tempted to make
a helper for it, but I didn't think of a great structure/name to get
there: `DiagnoseRedef` isn't always called when it's a redefinition, for
example due to `extern` diagnostics, it's hard to combine.
Cleans up `is_defined` calls to rely more on `has_definition_started`,
removing some code paths that are unused since definitions aren't
merged.
2025-01-14 21:13:21 +00:00
..
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-07 20:41:44 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2024-12-19 21:41:06 +00:00
2025-01-10 22:30:22 +00:00
2024-12-18 00:19:12 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-10 22:30:22 +00:00
2024-12-19 21:41:06 +00:00
2025-01-10 22:30:22 +00:00
2025-01-07 20:41:44 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-14 21:13:21 +00:00
2024-12-19 21:41:06 +00:00
2025-01-10 18:36:24 +00:00
2024-12-03 20:47:53 +00:00
2025-01-10 22:30:22 +00:00
2025-01-14 21:13:21 +00:00
2025-01-10 22:30:22 +00:00
2024-12-19 21:41:06 +00:00
2024-12-19 21:41:06 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2024-12-19 21:41:06 +00:00
2025-01-10 22:30:22 +00:00
2024-12-03 20:47:53 +00:00
2025-01-10 22:30:22 +00:00
2024-12-03 20:47:53 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-13 18:25:43 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-13 18:55:26 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2024-12-03 20:47:53 +00:00
2024-12-20 16:12:06 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00
2025-01-10 22:30:22 +00:00