For include paths marked C_ExternCSystem, is it expected that their header files will be processed with an implicit extern “C” {} block? If so, this is currently not working. I’ve attached a failing test.
I also looked through the code and I don’t see where C_ExternCSystem is treated differently from C_System. I changed the definition: C_ExternCSystem = C_System and then ran ninja check-clang and there were no failures.
thanks,
Dave
externc.diff (726 Bytes)