[PATCH] D153652: [Support] Don't set "all_exe" mode by default for file written by llvm::writeToOutput
Haojian Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 29 04:16:32 PDT 2023
hokein added inline comments.
================
Comment at: llvm/unittests/Support/raw_ostream_test.cpp:525
+ ASSERT_TRUE(Perms) << "should be able to get permissions";
+ // Verify that writeToOutput doesn't set exe bit.
+ EXPECT_EQ(Perms.get(), llvm::sys::fs::all_read | llvm::sys::fs::all_write);
----------------
avl wrote:
> nit: comment looks a bit inconsistent as we check for read&write bits.
refined the comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153652/new/
https://reviews.llvm.org/D153652
More information about the llvm-commits
mailing list