This is an archive of the discontinued LLVM Phabricator instance.

clang-rename: avoid StringRef members in USRLocFindingASTVisitor
ClosedPublic

Authored by vmiklos on May 16 2016, 12:49 PM.

Details

Summary

Even if this is defined in the .cpp file and only used as part of the
function (so here it's safe), usually storing StringRefs in the class is
dangerous, so don't do so.

Diff Detail

Event Timeline

vmiklos updated this revision to Diff 57385.May 16 2016, 12:49 PM
vmiklos retitled this revision from to clang-rename: avoid StringRef members in USRLocFindingASTVisitor.
vmiklos updated this object.
vmiklos added reviewers: klimek, cfe-commits.
klimek accepted this revision.May 17 2016, 8:36 AM
klimek edited edge metadata.

LG

This revision is now accepted and ready to land.May 17 2016, 8:36 AM
This revision was automatically updated to reflect the committed changes.