jansvoboda11 added a comment. Ah, I now see that there are modes where `ASTUnit` gets configured with command-line arguments.
I'm not very familiar with its clients, but I'd be inclined to: 1. If the original `HeaderSearchOptions` didn't have any VFS overlay files, adopt the PCM ones. 2. If the original `HeaderSearchOptions` did have VFS overlay files of its own, error out if the PCM has different ones. Any thoughts? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D135634/new/ https://reviews.llvm.org/D135634 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits