[cfe-dev] [RFC] Identifying wasteful template function bodies

Brian Gesiak via cfe-dev cfe-dev at lists.llvm.org
Wed Dec 4 08:04:07 PST 2019


Awesome, thanks all!

> On Mon, Dec 2, 2019 at 2:42 PM Reid Kleckner via cfe-dev <cfe-dev at lists.llvm.org> wrote:
>> I like this idea. I'm not sure a warning is the best way to surface it. The first alternative that occurs to be would be the -ftime-trace JSON file, so you can dump out complete info about the most often instantiated templates, how many nodes they contained, and how many of them were dependent.

This is a great idea. I'll try to get this working and send a patch.

The discussion on ADL was interesting as well. I'm glad I asked the
list, thanks!

- Brian


More information about the cfe-dev mailing list