================
@@ -1132,6 +1147,8 @@ bool is_other(const basic_file_status &status) {
 }
 
 std::error_code is_other(const Twine &Path, bool &Result) {
+  sandbox::violationIfEnabled();
----------------
benlangmuir wrote:

Won't we catch these via `status` being a violation?  Similarly for the other 
APIs here (e.g. openFileForRead).

https://github.com/llvm/llvm-project/pull/165350
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to