[cfe-dev] Strategy for checking validity of PCH

Miguel Guedes miguel.a.guedes at gmail.com
Mon May 13 04:42:09 PDT 2013


Hello List,

I'm using libclang and passing `-include-pch <pch-file>' to
clang_parseTranslationUnit, however whenever changes have been made that
affect the PCH file the parsing fails. 

How can one know the parsing failed because the PCH isn't valid anymore
and needs to be rebuilt?





More information about the cfe-dev mailing list