================
@@ -1568,6 +1558,14 @@ bool CompilerInvocation::createFromArgs(
success = false;
}
+ // User-specified or default resource dir
+ if (const llvm::opt::Arg *a =
+ args.getLastArg(clang::options::OPT_resource_dir))
+ invoc.resourceDir = a->getValue();
+ else
+ invoc.resourceDir = clang::driver::Driver::GetResourcesPath(
----------------
Meinersbur wrote:
Merge-in the latest main which includes the re-land
(https://github.com/llvm/llvm-project/commit/d090311aa7df7cbd93412c31685893aefc4ad341).
Should resole the issue unless reverted again.
https://github.com/llvm/llvm-project/pull/169638
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits