On Dec 31, 2010, at 9:47 AM, David Chisnall wrote: > Unfortunately, clang appears to default to C for .h files (probably sensible) and to refer to ignore -x options passed in to clang_createTranslationUnitFromSourceFile() and clang_parseTranslationUnit(). Despite my other comments, that particular issue is likely a bug in the driver.