Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Tooling/Refactoring/Rename/USRLocFinder.cpp | ||
---|---|---|
227 ↗ | (On Diff #119645) | I wonder what would happen if we have foo <int>()? |
lib/Tooling/Refactoring/Rename/USRLocFinder.cpp | ||
---|---|---|
227 ↗ | (On Diff #119645) | 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 ↗ | (On Diff #119645) | Could you add a test for this? Thanks! |
Comment Actions
Test for foo <int>().
lib/Tooling/Refactoring/Rename/USRLocFinder.cpp | ||
---|---|---|
227 ↗ | (On Diff #119645) | Done, but note that our unittest will format the expected/actual code before doing verification. |
unittests/Rename/RenameFunctionTest.cpp | ||
---|---|---|
232 ↗ | (On Diff #119654) | Shouldn't this be namespace nb {? |
unittests/Rename/RenameFunctionTest.cpp | ||
---|---|---|
232 ↗ | (On Diff #119654) | It is intended. We don't change the namespace here, only the name of the definition will be changed. |