[cfe-dev] PTH vs PCH usage

Vladimir Voskresensky voskresensky.vladimir at gmail.com
Wed Dec 28 13:12:12 PST 2011


Hello,

What kind of caching (i.e. for Indexing) should be used if Clang is to 
be used from IDE-like applications for completion/x-ref features?
Does PCH is the right thing to use in such situations (at least I see it 
mentioned in documentation for clang_createIndex)?

What is the status of PTH? Is it live or deprecated?
Should it be used in interactive applications as cache mechanism as well?

Thanks,
Vladimir.



More information about the cfe-dev mailing list