[flang-commits] [flang] 080d48f - [flang][msvc] Fix compilation of RuntimeGtest

Asher Mancinelli via flang-commits flang-commits at lists.llvm.org
Tue Apr 20 14:37:08 PDT 2021


Author: Mehdi Chinoune
Date: 2021-04-20T15:36:38-06:00
New Revision: 080d48f279e2b70e4e9fc65bc4947a53ffc982f3

URL: https://github.com/llvm/llvm-project/commit/080d48f279e2b70e4e9fc65bc4947a53ffc982f3
DIFF: https://github.com/llvm/llvm-project/commit/080d48f279e2b70e4e9fc65bc4947a53ffc982f3.diff

LOG: [flang][msvc] Fix compilation of RuntimeGtest

Removes alternate spelling 'not' with '!'.

Reviewed by: ashermancinelli, awarzynski, Meinersbur

Differential revision: https://reviews.llvm.org/D100442

Added: 
    

Modified: 
    flang/unittests/RuntimeGTest/CrashHandlerFixture.cpp

Removed: 
    


################################################################################
diff  --git a/flang/unittests/RuntimeGTest/CrashHandlerFixture.cpp b/flang/unittests/RuntimeGTest/CrashHandlerFixture.cpp
index 315a555789e74..7078949d0132f 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;
 }


        


More information about the flang-commits mailing list