[PATCH] D17772: [clang-tidy]: string_view of temporary string
David Blaikie via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 1 09:29:13 PST 2016
Any way to/would it be worth broadening this with an annotation or some
such (or just a lost for now) of types that maintain references to their
ctor params? (Eg: llvm arrayref, etc)
On Mar 1, 2016 9:19 AM, "Jonathan B Coe via cfe-commits" <
cfe-commits at lists.llvm.org> wrote:
> jbcoe created this revision.
> jbcoe added reviewers: aaron.ballman, alexfh.
> jbcoe added a subscriber: cfe-commits.
> jbcoe set the repository for this revision to rL LLVM.
> Find instances where a string_view is constructed from a temporary string
> and replace the string_view with a string.
> rL LLVM
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits