arphaman added inline comments.
================ Comment at: include/clang/Tooling/Refactoring/Rename/SymbolOccurrences.h:65-68 + ArrayRef<SourceLocation> getNameLocations() const { return Locations; } + ArrayRef<unsigned> getNameLengths() const { + return llvm::makeArrayRef(NameLengths, Locations.size()); + } ---------------- klimek wrote: > Any reason not to return ranges instead here? I used ranges before, but I found that it was easier to create the atomic changes with location+lengths. Should I go back to ranges? ================ Comment at: include/clang/Tooling/Refactoring/Rename/SymbolOccurrences.h:72-73 + OccurrenceKind Kind; + ArrayRef<SourceLocation> Locations; + const unsigned *NameLengths; +}; ---------------- klimek wrote: > Can we store ranges instead? We could, but see above for my current reasoning. Repository: rL LLVM https://reviews.llvm.org/D36156 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits