[PATCH] D32884: [LazyValueInfo] Avoid unnecessary copies of ConstantRanges

Noel Grandin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 03:20:13 PDT 2017


grandinj added a comment.

if anyone is interested, I wrote a clang plugin for the LibreOffice codebase to find methods that can return a const ref.

Make a big reference to some of our code.

  https://cgit.freedesktop.org/libreoffice/core/tree/compilerplugins/clang/store/returnbyref.cxx

Note that the output of this plugin is not 100% perfect, needs manual confirmation


https://reviews.llvm.org/D32884





More information about the llvm-commits mailing list