This is an archive of the discontinued LLVM Phabricator instance.

[Diagnostic] Clarify -Winfinite-recursion message
Needs RevisionPublic

Authored by merrymeerkat on Oct 31 2022, 6:07 AM.

Details

Reviewers
aaron.ballman

Diff Detail

Event Timeline

merrymeerkat created this revision.Oct 31 2022, 6:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 31 2022, 6:07 AM
merrymeerkat requested review of this revision.Oct 31 2022, 6:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 31 2022, 6:07 AM
aaron.ballman requested changes to this revision.Oct 31 2022, 7:17 AM
aaron.ballman added a subscriber: aaron.ballman.

Thank you for the patch! However, I think this isn't an improvement to the diagnostic -- it's a cute phrase, but it doesn't help the programmer to understand what about their code needs to change.

This revision now requires changes to proceed.Oct 31 2022, 7:17 AM

Thank you for the patch! However, I think this isn't an improvement to the diagnostic -- it's a cute phrase, but it doesn't help the programmer to understand what about their code needs to change.

Hi Aaron! Agreed--thank you for the review! I was just following a tutorial on how to make changes to LLVM, so this was not a real code review :)
Cheers!

Thank you for the patch! However, I think this isn't an improvement to the diagnostic -- it's a cute phrase, but it doesn't help the programmer to understand what about their code needs to change.

Hi Aaron! Agreed--thank you for the review! I was just following a tutorial on how to make changes to LLVM, so this was not a real code review :)
Cheers!

Ahhh, that makes a lot more sense, thank for letting me know! (This is like the fourth time I've seen someone submit these same changes and I was confused as to why this was such a popular attempted modification, lol.)