[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
This commit is contained in:
Michael Jones 2021-12-22 11:24:02 -08:00
parent a2120f6b44
commit 79abf89303
2 changed files with 4 additions and 4 deletions

View File

@ -50,9 +50,9 @@ public:
}
protected:
void set_up() override { Options.Log = BenchmarkLog::Full; }
void SetUp() override { Options.Log = BenchmarkLog::Full; }
void tear_down() override {
void TearDown() override {
// We make sure all the expected measurements were performed.
if (MaybeTimepoints)
EXPECT_THAT(*MaybeTimepoints, IsEmpty());

View File

@ -21,9 +21,9 @@ class LlvmLibcSignalTest : public __llvm_libc::testing::Test {
sigset_t oldSet;
public:
void set_up() override { __llvm_libc::sigprocmask(0, nullptr, &oldSet); }
void SetUp() override { __llvm_libc::sigprocmask(0, nullptr, &oldSet); }
void tear_down() override {
void TearDown() override {
__llvm_libc::sigprocmask(SIG_SETMASK, &oldSet, nullptr);
}
};