Skip to content

Commit f56cd99

Browse files
committed
format
1 parent 7657030 commit f56cd99

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

compiler-rt/lib/asan/asan_fake_stack.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,11 @@ void FakeStack::ForEachFakeFrame(RangeIteratorCallback callback, void* arg) {
217217
static THREADLOCAL FakeStack* fake_stack_tls;
218218

219219
static FakeStack* GetTLSFakeStack() { return fake_stack_tls; }
220-
static void SetTLSFakeStack(FakeStack* fs) {
221-
fake_stack_tls = fs;
222-
}
220+
static void SetTLSFakeStack(FakeStack* fs) { fake_stack_tls = fs; }
223221
void ResetTLSFakeStack() { fake_stack_tls = nullptr; }
224222
#else
225223
static FakeStack* GetTLSFakeStack() { return nullptr; }
226-
static void SetTLSFakeStack(FakeStack* fs) {}
224+
static void SetTLSFakeStack(FakeStack *fs) {}
227225
void ResetTLSFakeStack() {}
228226
#endif // (SANITIZER_LINUX && !SANITIZER_ANDROID) || SANITIZER_FUCHSIA
229227

0 commit comments

Comments
 (0)