[cfe-dev] clang-query cache?

rzaghi at mosaic3dx.com rzaghi at mosaic3dx.com
Mon Jul 27 01:44:53 PDT 2015


No, I am not asking about individual sub-queries. When I run the whole program from the command line, it can take a long time to run until you can type subqueries.

I never tried multiple files at a time but that should take even linger.

So can I not keep clang-query's internal data structure so that I can just run subqueries even after restarting the computer, and with out running the whole command from scratch?

R.
________________________________
From: Manuel Klimek <klimek at google.com>
Sent: 27 July 2015 06:32:14
To: rzaghi at mosaic3dx.com; cfe-dev at cs.uiuc.edu
Subject: Re: [cfe-dev] clang-query cache?

Well, it depends. If you have certain kinds of queries you want to repeat, there are projects like kythe [1]. Otherwise, clang-query allows you to match the whole AST, so I'm not sure what you'd want to cache. Do you want to cache sub-queries that do not change?

[1] https://github.com/google/kythe

On Sat, Jul 25, 2015 at 3:45 PM rzaghi at mosaic3dx.com<mailto:rzaghi at mosaic3dx.com> <rzaghi at mosaic3dx.com<mailto:rzaghi at mosaic3dx.com>> wrote:
Is it possible to cache clang-query results so I don't need to run it for every file in a project evertime?

- Ramin

_______________________________________________
cfe-dev mailing list
cfe-dev at cs.uiuc.edu<mailto:cfe-dev at cs.uiuc.edu>
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150727/962aa93a/attachment.html>


More information about the cfe-dev mailing list