[clang] [llvm] [analyzer] bypass io sandbox in debug check (PR #224783)

Carson Radtke via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 18 17:46:12 PDT 2026


================
@@ -657,8 +657,6 @@ std::error_code access(const Twine &Path, AccessMode Mode) {
 }
 
 bool can_execute(const Twine &Path) {
-  sandbox::violationIfEnabled();
----------------
carsonRadtke wrote:

Deleted because `access` checks this anyway and it matches the implementation in `../WIndows/Path.inc` ([link](https://github.com/carsonRadtke/llvm-project/blob/76fc936175304b521d8f5d9f0a67fe479237b4ac/llvm/lib/Support/Windows/Path.inc#L809))

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


More information about the cfe-commits mailing list