[PATCH] D124613: In MSVC compatibility mode, friend function declarations behave as function declarations

Fred Tingaud via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 11 10:23:53 PDT 2022


frederic-tingaud-sonarsource added a comment.

Thanks a lot for pointing out the reproducer, it made the debug a lot easier.
I have pinpointed the problem to an unintended increase in ADL visibility for friend classes. I do have a test-case and fix for that. I'll make a last check tomorrow to make sure I'm not missing something important and push a pull-request.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124613/new/

https://reviews.llvm.org/D124613



More information about the cfe-commits mailing list