The last check failed as Cla::Cla() was rewritten to Cla::hector().
Details
Diff Detail
Event Timeline
LG
clang-rename/USRLocFinder.cpp | ||
---|---|---|
64 | Add a comment like: Also: should we add a check that the token of the source location we find actually has the old name? |
clang-rename/USRLocFinder.cpp | ||
---|---|---|
64 | I don't know off the top of my head a situation where this is needed, but sure, sounds like a useful safety check. I'll have a look. |
Hi,
Also: should we add a check that the token of the source location we find actually has the old name?
Hmm, how do I get the token at a specific SourceLocation? The best I found so far is SourceManager::getBuffer(), but that looks more like looking up raw bytes from the source file at a location, not a token.
Thanks,
Miklos
Add a comment like:
// The source location of implicit initializers is the constructor declaration.
Also: should we add a check that the token of the source location we find actually has the old name?