This is an archive of the discontinued LLVM Phabricator instance.

[Clang] Fix filtering of inline namespaces for friend functions
ClosedPublic

Authored by shafik on Apr 6 2023, 9:10 PM.

Details

Summary

PR D135370 implemented a performance improvement but it restricted the filtering of declaration from inline namespace too much. In particular it did not filter for the function template case.

This led to a regression and this PR removes that check.

This fixes: https://github.com/llvm/llvm-project/issues/61851

Diff Detail

Event Timeline

shafik created this revision.Apr 6 2023, 9:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2023, 9:10 PM

Good catch! Let's skip the release note for this for now, because I think we should cherry-pick this to the 16.0.2 milestone -- but you should add the release note when landing on that branch so users know about the fix.

aaron.ballman accepted this revision.Apr 7 2023, 5:01 AM
This revision is now accepted and ready to land.Apr 7 2023, 5:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 7 2023, 9:06 AM