Skip to content
Snippets Groups Projects
Commit 68800664 authored by Axel Naumann's avatar Axel Naumann Committed by Vassil Vassilev
Browse files

[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.
parent fbc5da5a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment