projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SeparateConstOffsetFromGEP] inbounds zext => sext for better splitting
[oota-llvm.git]
/
unittests
/
Support
/
RegexTest.cpp
diff --git
a/unittests/Support/RegexTest.cpp
b/unittests/Support/RegexTest.cpp
index c3a8085accde5d3ec9f89b1d2ae8802514291445..c045c49bc3d7cde5c3ce504ae324da649d674038 100644
(file)
--- a/
unittests/Support/RegexTest.cpp
+++ b/
unittests/Support/RegexTest.cpp
@@
-140,7
+140,6
@@
TEST_F(RegexTest, IsValid) {
EXPECT_EQ("invalid character range", Error);
}
-#if LLVM_HAS_RVALUE_REFERENCES
TEST_F(RegexTest, MoveConstruct) {
Regex r1("^[0-9]+$");
Regex r2(std::move(r1));
@@
-153,6
+152,5
@@
TEST_F(RegexTest, MoveAssign) {
r2 = std::move(r1);
EXPECT_TRUE(r2.match("916"));
}
-#endif
}