[clang] [clang modules] Setting `DebugCompilationDir` when it is safe to ignore current working directory (PR #128446)
Qiongsi Wu via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 25 12:25:04 PST 2025
================
@@ -492,8 +492,23 @@ static std::string getModuleContextHash(const ModuleDeps &MD,
auto &FSOpts = const_cast<FileSystemOptions &>(CI.getFileSystemOpts());
----------------
qiongsiwu wrote:
I refactored the code a bit in this PR and we don't use `const_cast` any more.
https://github.com/llvm/llvm-project/pull/128446
More information about the cfe-commits
mailing list