I like GetMissingDictionaries() - of course they are for classes :-) And yes, TObjArray would work. But then use a set<TClass*> for TCling.cxx's GetMissingDictionariesForDecl() to be more performant, and convert the set to the TObjArray in TCling::GetMissingDictionaries(). See comment below.