[PATCH] D100442: [flang][msvc] Fix compilation of RuntimeGtest tests.
Asher Mancinelli via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 20 14:37:24 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG080d48f279e2: [flang][msvc] Fix compilation of RuntimeGtest (authored by Mehdi Chinoune <MehdiChinoune>, committed by ashermancinelli).
Repository:
rG LLVM Github Monorepo
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.339002.patch
Type: text/x-patch
Size: 604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210420/28eeca9a/attachment.bin>
More information about the llvm-commits
mailing list