diff --git a/flang/unittests/RuntimeGTest/CrashHandlerFixture.cpp b/flang/unittests/RuntimeGTest/CrashHandlerFixture.cpp index 315a555789e7..7078949d0132 100644 --- a/flang/unittests/RuntimeGTest/CrashHandlerFixture.cpp +++ b/flang/unittests/RuntimeGTest/CrashHandlerFixture.cpp @@ -28,7 +28,7 @@ // Register the crash handler above when creating each unit test in this suite void CrashHandlerFixture::SetUp() { static bool isCrashHanlderRegistered{false}; - if (not isCrashHanlderRegistered) + if (!isCrashHanlderRegistered) Fortran::runtime::Terminator::RegisterCrashHandler(CatchCrash); isCrashHanlderRegistered = true; }