Minor: improved predicate isCppSource