[PATCH] D139774: [libclang] Add API to set temporary directory location
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 15:45:48 PST 2023
MaskRay added a comment.
libclang functions like `clang_reparseTranslationUnit_Impl` call `clang/lib/Frontend/ASTUnit.cpp:1397` and build the preamble with `/*StoreInMemory=*/false`.
If `StoreInMemory` is configurable (true), then you can avoid the temporary file `preamble-*.pch`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139774/new/
https://reviews.llvm.org/D139774
More information about the llvm-commits
mailing list