Corresponding LLVM change: http://reviews.llvm.org/D14393
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I would probably leave remove_leading_dotslash intact, ant that should eliminate the need to change the test.
test/Frontend/dependency-gen.c | ||
---|---|---|
19 ↗ | (On Diff #39432) | This is an intended change, right? Why? |
Comment Actions
I would probably leave remove_leading_dotslash intact, ant that should eliminate the need to change the test.
I disagree. The old function is much more limited - it stripped "./" only at the beginning. Plus it would result in two very similar functions. I think having only one is better.
test/Frontend/dependency-gen.c | ||
---|---|---|
19 ↗ | (On Diff #39432) | Because new function also removes /./ in the middle. It used to be a/b/./x.h and it is now a/b/x.h |
test/Frontend/dependency-gen.c | ||
---|---|---|
19 ↗ | (On Diff #39432) | To keep this change mechanical, let's just not touch remove_leading_dotslash in this patch. |