[clang] [llvm] [llvm][vfs] Allow root directory remap. Fix assertion failure. (PR #83766)

via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 3 22:06:42 PST 2024


yelleyee wrote:

Refinement: The current implementation suggests that the top `remap-entry` node must be a directory in the tree, which is not consistent with the rest of the tree design.    
In the reset nodes of the tree, both `directory` and `directory-remap` should be allowed. Therefore, the `uniqueOverlayTree` function should allow the `SrcE` parameter to be passed with a `EK_DirectoryRemap` kind parameter when initially entering the function.

https://github.com/llvm/llvm-project/pull/83766


More information about the cfe-commits mailing list