[clang] [clang dependency scanning] Make Current Working Directory Optimization Off by Default (PR #129809)

Michael Spencer via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 4 17:38:39 PST 2025


================
@@ -67,7 +67,7 @@ enum class ScanningOptimizations {
   IgnoreCWD = (1 << 4),
 
   DSS_LAST_BITMASK_ENUM(IgnoreCWD),
-  Default = All
+  Default = All & (~IgnoreCWD)
----------------
Bigcheese wrote:

I think there should be a comment here with basically what you said in the commit message to explain why this is off by default.

https://github.com/llvm/llvm-project/pull/129809


More information about the cfe-commits mailing list