Details
Diff Detail
- Build Status
Buildable 11325 Build 11325: arc lint + arc unit
Event Timeline
| lib/Tooling/Refactoring/Rename/USRLocFinder.cpp | ||
|---|---|---|
| 227 | I wonder what would happen if we have foo <int>()? | |
| lib/Tooling/Refactoring/Rename/USRLocFinder.cpp | ||
|---|---|---|
| 227 | There will be a blank left like bar <int>(); if we don't format the apply replacement, but I don't think this case really matters because we often format the placements before applying them. | |
| lib/Tooling/Refactoring/Rename/USRLocFinder.cpp | ||
|---|---|---|
| 227 | Could you add a test for this? Thanks! | |
Test for foo <int>().
| lib/Tooling/Refactoring/Rename/USRLocFinder.cpp | ||
|---|---|---|
| 227 | Done, but note that our unittest will format the expected/actual code before doing verification. | |
| unittests/Rename/RenameFunctionTest.cpp | ||
|---|---|---|
| 232 | Shouldn't this be namespace nb {? | |
| unittests/Rename/RenameFunctionTest.cpp | ||
|---|---|---|
| 232 | It is intended. We don't change the namespace here, only the name of the definition will be changed. | |
I wonder what would happen if we have foo <int>()?