By default, it seems clangd creates pch files in system temporary path, ie /tmp/*.pch. What if I want to change it to a different location? I don't see clangd has any command line option for that. Any ideas?
clangd -pch-storage=disk
The storage location can be changed by setting the TMPDIR environment variable to a different location. That seems to be the only way.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.