================
@@ -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:
That's my weak preference, but I won't block the PR over this if anyone
disagrees. It is a (tiny) perf win to only check it once, but I doubt it
matters.
https://github.com/llvm/llvm-project/pull/165350
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits