[PATCH] D20150: clang-rename: fix renaming of field with implicit initializers

Miklos Vajna via cfe-commits cfe-commits at lists.llvm.org
Thu May 12 00:22:53 PDT 2016


vmiklos added a comment.

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


Repository:
  rL LLVM

http://reviews.llvm.org/D20150





More information about the cfe-commits mailing list