Skip to content

Commit 79abf89

Browse files
[libc][obvious] fix formatting mistake
I missed two instances of "SetUp" being replaced by "set_up" and "TearDown" being replaced by "tear_down" when finalizing the formatting change. This fixes that. Differential Revision: https://reviews.llvm.org/D116178
1 parent a2120f6 commit 79abf89

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libc/benchmarks/LibcBenchmarkTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ class LibcBenchmark : public ::testing::Test {
5050
}
5151

5252
protected:
53-
void set_up() override { Options.Log = BenchmarkLog::Full; }
53+
void SetUp() override { Options.Log = BenchmarkLog::Full; }
5454

55-
void tear_down() override {
55+
void TearDown() override {
5656
// We make sure all the expected measurements were performed.
5757
if (MaybeTimepoints)
5858
EXPECT_THAT(*MaybeTimepoints, IsEmpty());

libc/test/src/signal/sigprocmask_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ class LlvmLibcSignalTest : public __llvm_libc::testing::Test {
2121
sigset_t oldSet;
2222

2323
public:
24-
void set_up() override { __llvm_libc::sigprocmask(0, nullptr, &oldSet); }
24+
void SetUp() override { __llvm_libc::sigprocmask(0, nullptr, &oldSet); }
2525

26-
void tear_down() override {
26+
void TearDown() override {
2727
__llvm_libc::sigprocmask(SIG_SETMASK, &oldSet, nullptr);
2828
}
2929
};

0 commit comments

Comments
 (0)