-
- Downloads
[core] Flag explicit tmplt spec as autoloadable:
With llvm9, the external AST source will only be asked to provide the definition of an explicit specialization if the forward declaration of the explicit specialization is flagged as hasExternalLexicalStorage(). In roottest/root/meta/runtemplateAutoload*, the external AST source is the autoloading; the fwd decl comes from the rootmap file: the specialization "resides" in a library that needs to be loaded, instead of instantiating the template from the default definition. Walk the declarations parsed by the rootmap reader, and flag all explicit specializations as "has more info". For that to work, explicit specializations must show up in the declarations section of the rootmap files.
Showing
- core/clingutils/res/TClingUtils.h 6 additions, 0 deletionscore/clingutils/res/TClingUtils.h
- core/clingutils/src/TClingUtils.cxx 26 additions, 0 deletionscore/clingutils/src/TClingUtils.cxx
- core/dictgen/src/rootcling_impl.cxx 7 additions, 1 deletioncore/dictgen/src/rootcling_impl.cxx
- core/metacling/src/TCling.cxx 21 additions, 6 deletionscore/metacling/src/TCling.cxx
Loading
Please register or sign in to comment