We had previously added an early out for declaration contexts but this is not correct for classes since they need to have their preprocessed entities processed by the rest of the pass.
This has been broken since we started parsing preprocessed entities for all declarations. In the specific cases of declaration contexts (translation units and namespaces) we would be processing child declaration preprocessed entities and ignoring the whole contexts by mistake.