projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1115b2c
)
Addressing a post-commit review comment suggesting to avoid using direct initialization.
author
Aaron Ballman
<aaron@aaronballman.com>
Tue, 17 Feb 2015 16:57:05 +0000
(16:57 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Tue, 17 Feb 2015 16:57:05 +0000
(16:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229512
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/ADT/ArrayRefTest.cpp
patch
|
blob
|
history
diff --git
a/unittests/ADT/ArrayRefTest.cpp
b/unittests/ADT/ArrayRefTest.cpp
index c6854aed4b64af31cc880691d84b48c7c75da863..4d77c478f481ff7791a3d4391090a590376d64d4 100644
(file)
--- a/
unittests/ADT/ArrayRefTest.cpp
+++ b/
unittests/ADT/ArrayRefTest.cpp
@@
-91,7
+91,7
@@
TEST(ArrayRefTest, ConstConvert) {
}
TEST(ArrayRefTest, InitializerList) {
- ArrayRef<int> A{ 0, 1, 2, 3, 4 };
+ ArrayRef<int> A
=
{ 0, 1, 2, 3, 4 };
for (int i = 0; i < 5; ++i)
EXPECT_EQ(i, A[i]);
}