[cfe-users] Strategy for checking validity of PCH

Miguel Guedes miguel.a.guedes at gmail.com
Sun May 12 00:11:29 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?

-- 
Miguel




More information about the cfe-users mailing list