[PATCH] D135634: [clang][modules] Serialize VFS overlay paths into PCMs

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 1 21:55:12 PDT 2022


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



More information about the cfe-commits mailing list