[PATCH] D153652: [Support] Don't set "all_exe" mode by default for file written by llvm::writeToOutput
Alexey Lapshin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 28 17:05:51 PDT 2023
avl added a comment.
this LGTM. please, wait if James has any concern.
================
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);
----------------
nit: comment looks a bit inconsistent as we check for read&write bits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153652/new/
https://reviews.llvm.org/D153652
More information about the cfe-commits
mailing list