================ @@ -391,6 +392,16 @@ class DocumentOutline { D = TD; } + // Friend declarations should be traversed if and only if + // they are also defined here. ---------------- ckandeler wrote: Done https://github.com/llvm/llvm-project/pull/150629