[PATCH] D47671: [analyzer] Implement copy elision.

George Karpenkov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 5 14:43:25 PDT 2018


george.karpenkov added a comment.

> So having an analyzer-config option would be useful for those codebases that are expected to be compiled with less advanced compilers that do not elide copies or not doing it aggressively enough.

I'm not sure it makes sense. From my understanding, that's just how c++17 is defined, and that's unrelated to what compiler implementation is used.

> I am not sure though how often the end users end up fine tuning the analyzer.

My guess will be "never" (apart from turning on checkers)


Repository:
  rC Clang

https://reviews.llvm.org/D47671





More information about the cfe-commits mailing list