dexonsmith added a comment.

(Seeing the other replies now!)

In D123197#3433846 <https://reviews.llvm.org/D123197#3433846>, @sammccall wrote:

> I think it's worth making the test a bit uglier to achieve that, and by 
> contrast adding inheritance to FileManager would make it harder to understand.
>
> Some ideas, do any seem acceptable?
>
> - have FileEntry `friend class FileEntryTest` or so

This idea sounds good to me.

I also like the idea I just posted (change to an initializing constructor), but 
it's more work and I'm fine with the `friend class FileEntryTest` as a way 
forward if you'd prefer it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123197

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to