If I run clang on cs4224.c it tends to miss the definition of cs4224_reg_get_channel() if clang can't find cs4224.h. This seems to have something to do with it being implicitly forward declared. Not sure why this is but if I add these options when I instantiate the parser the problem goes away since it can now pick up cs4224.h:
If I run clang on cs4224.c it tends to miss the definition of cs4224_reg_get_channel() if clang can't find cs4224.h. This seems to have something to do with it being implicitly forward declared. Not sure why this is but if I add these options when I instantiate the parser the problem goes away since it can now pick up cs4224.h: