only index c++ translation units (i.e. not headers)