diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2009-12-01 11:07:05 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2009-12-01 11:07:05 +0000 |
commit | e7908924d847e63b02bc82bfaa1709ab9c774dcd (patch) | |
tree | ffe0478472eaa0686f11cb02c6df7d257b8719b0 /unittests/ADT/StringRefTest.cpp | |
parent | bf68f1ea49e39c4194f339ddd4421b0c3a31988b (diff) | |
download | FreeBSD-src-e7908924d847e63b02bc82bfaa1709ab9c774dcd.zip FreeBSD-src-e7908924d847e63b02bc82bfaa1709ab9c774dcd.tar.gz |
Update LLVM to r90226.
Diffstat (limited to 'unittests/ADT/StringRefTest.cpp')
-rw-r--r-- | unittests/ADT/StringRefTest.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/unittests/ADT/StringRefTest.cpp b/unittests/ADT/StringRefTest.cpp index 11545d5..dfa208a 100644 --- a/unittests/ADT/StringRefTest.cpp +++ b/unittests/ADT/StringRefTest.cpp @@ -111,11 +111,6 @@ TEST(StringRefTest, Split) { Str.rsplit('o')); } -// XFAIL for PR5482, StringRef is miscompiled by Apple gcc. -#if (!defined(__llvm__) && defined(__APPLE__) && defined(__OPTIMIZE__)) -#define SKIP_SPLIT2 -#endif -#ifndef SKIP_SPLIT2 TEST(StringRefTest, Split2) { SmallVector<StringRef, 5> parts; SmallVector<StringRef, 5> expected; @@ -195,7 +190,6 @@ TEST(StringRefTest, Split2) { StringRef("a,,b,c").split(parts, ",", 3, false); EXPECT_TRUE(parts == expected); } -#endif TEST(StringRefTest, StartsWith) { StringRef Str("hello"); |