================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to