respect completion option in cpp mode