[PATCH] D100442: [flang][msvc] Fix compilation of RuntimeGtest tests.
مهدي شينون (Mehdi Chinoune) via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 14 03:21:16 PDT 2021
MehdiChinoune updated this revision to Diff 337389.
MehdiChinoune marked 2 inline comments as not done.
MehdiChinoune added a comment.
Update diff
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100442/new/
https://reviews.llvm.org/D100442
Files:
flang/unittests/RuntimeGTest/CrashHandlerFixture.cpp
Index: flang/unittests/RuntimeGTest/CrashHandlerFixture.cpp
===================================================================
--- flang/unittests/RuntimeGTest/CrashHandlerFixture.cpp
+++ 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;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100442.337389.patch
Type: text/x-patch
Size: 604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210414/f0216f0e/attachment.bin>
More information about the llvm-commits
mailing list