projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ADT] Switch a bunch of places in LLVM that were doing single-character
[oota-llvm.git]
/
unittests
/
Support
/
Path.cpp
diff --git
a/unittests/Support/Path.cpp
b/unittests/Support/Path.cpp
index cfba227dbe93fe723d855d95bcb15a418ba916ec..a4d2ab1bfc82988f9a99a0f5132f285b1805b799 100644
(file)
--- a/
unittests/Support/Path.cpp
+++ b/
unittests/Support/Path.cpp
@@
-158,7
+158,7
@@
TEST(Support, RelativePathIterator) {
PathComponents ExpectedPathComponents;
PathComponents ActualPathComponents;
PathComponents ExpectedPathComponents;
PathComponents ActualPathComponents;
- StringRef(Path).split(ExpectedPathComponents,
"/"
);
+ StringRef(Path).split(ExpectedPathComponents,
'/'
);
for (path::const_iterator I = path::begin(Path), E = path::end(Path); I != E;
++I) {
for (path::const_iterator I = path::begin(Path), E = path::end(Path); I != E;
++I) {
@@
-178,7
+178,7
@@
TEST(Support, RelativePathDotIterator) {
PathComponents ExpectedPathComponents;
PathComponents ActualPathComponents;
PathComponents ExpectedPathComponents;
PathComponents ActualPathComponents;
- StringRef(Path).split(ExpectedPathComponents,
"/"
);
+ StringRef(Path).split(ExpectedPathComponents,
'/'
);
for (path::const_iterator I = path::begin(Path), E = path::end(Path); I != E;
++I) {
for (path::const_iterator I = path::begin(Path), E = path::end(Path); I != E;
++I) {
@@
-198,7
+198,7
@@
TEST(Support, AbsolutePathIterator) {
PathComponents ExpectedPathComponents;
PathComponents ActualPathComponents;
PathComponents ExpectedPathComponents;
PathComponents ActualPathComponents;
- StringRef(Path).split(ExpectedPathComponents,
"/"
);
+ StringRef(Path).split(ExpectedPathComponents,
'/'
);
// The root path will also be a component when iterating
ExpectedPathComponents[0] = "/";
// The root path will also be a component when iterating
ExpectedPathComponents[0] = "/";
@@
-221,7
+221,7
@@
TEST(Support, AbsolutePathDotIterator) {
PathComponents ExpectedPathComponents;
PathComponents ActualPathComponents;
PathComponents ExpectedPathComponents;
PathComponents ActualPathComponents;
- StringRef(Path).split(ExpectedPathComponents,
"/"
);
+ StringRef(Path).split(ExpectedPathComponents,
'/'
);
// The root path will also be a component when iterating
ExpectedPathComponents[0] = "/";
// The root path will also be a component when iterating
ExpectedPathComponents[0] = "/";