projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b0bd54
)
Suppress GCC Wdangling-else warning on gtest macros
author
Reid Kleckner
<rnk@google.com>
Wed, 6 Jan 2021 01:32:56 +0000
(17:32 -0800)
committer
Reid Kleckner
<rnk@google.com>
Wed, 6 Jan 2021 01:32:56 +0000
(17:32 -0800)
See https://github.com/google/googletest/issues/1119
llvm/unittests/Support/CrashRecoveryTest.cpp
patch
|
blob
|
history
diff --git
a/llvm/unittests/Support/CrashRecoveryTest.cpp
b/llvm/unittests/Support/CrashRecoveryTest.cpp
index 864b852cf2d2d4df75af1eff92fdf0d7933fd179..c38fa0b4cb25b76d651a668454c1d7b611f318e2 100644
(file)
--- a/
llvm/unittests/Support/CrashRecoveryTest.cpp
+++ b/
llvm/unittests/Support/CrashRecoveryTest.cpp
@@
-109,8
+109,9
@@
TEST(CrashRecoveryTest, LimitedStackTrace) {
std::string Str = RawStream.str();
// FIXME: Handle "Depth" parameter in PrintStackTrace() function
// to print stack trace upto a specified Depth.
- if (!Triple(sys::getProcessTriple()).isOSWindows())
+ if (!Triple(sys::getProcessTriple()).isOSWindows())
{
EXPECT_EQ(std::string::npos, Str.find("#1"));
+ }
}
#ifdef _WIN32