summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2019-08-15 13:27:46 -0700
committerYi Kong <yikong@google.com>2019-08-22 21:41:11 +0000
commit1fa946a2f285283277d75bf741bfef05f6bc9d8e (patch)
tree1c72d4f0597c2e8bd209734bc421c4a2c2b416db /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta0914d81ef9f4d7258f1530dc3bfdd575f6e448d (diff)
Fix android-cloexec-pipe clang-tidy warning
The upcoming clang-tidy update finds a new instance of android-cloexec-pipe warning: FileUtilsTests.cpp:72:13: error: prefer pipe2() with O_CLOEXEC to avoid leaking file descriptors to child processes ASSERT_EQ(pipe(pipefd), 0); ^~~~~~~~~~~~ pipe2(pipefd, O_CLOEXEC) Apply the suggested fix by clang-tidy. Test: build Bug: 131328001 Exempt-From-Owner-Approval: Cherrypick Change-Id: Iee772b5c3ed5e2af481e479dab19030f8419290a Merged-In: Iee772b5c3ed5e2af481e479dab19030f8419290a (cherry picked from commit f61e2167d5352b63eb34a086cdcb0dfec485bdf0)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions