We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6534d68 + 8d1454b commit 6b83cabCopy full SHA for 6b83cab
compiler-rt/lib/asan/asan_fake_stack.cpp
@@ -219,7 +219,7 @@ static THREADLOCAL FakeStack* fake_stack_tls;
219
static FakeStack* GetTLSFakeStack() { return fake_stack_tls; }
220
void SetTLSFakeStack(FakeStack* fs) { fake_stack_tls = fs; }
221
#else
222
-static FakeStack* GetTLSFakeStack() { return 0; }
+static FakeStack* GetTLSFakeStack() { return nullptr; }
223
void SetTLSFakeStack(FakeStack* fs) {}
224
#endif // (SANITIZER_LINUX && !SANITIZER_ANDROID) || SANITIZER_FUCHSIA
225
0 commit comments