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.
Details
Details
Diff Detail
Diff Detail
Differential D20296
clang-rename: avoid StringRef members in USRLocFindingASTVisitor vmiklos on May 16 2016, 12:49 PM. Authored by
Details Even if this is defined in the .cpp file and only used as part of the
Diff Detail |