Move Autoload annotation after scope keyword
Otherwise tests/Autoloading/AutoForwarding.C complains that "an attribute list cannot appear here".
This commit is contained in:
parent
106e1771aa
commit
ae776451fc
@ -357,13 +357,13 @@ namespace cling {
|
||||
if (!m_Policy.SuppressSpecifiers && D->isModulePrivate())
|
||||
Out() << "__module_private__ ";
|
||||
Out() << "enum ";
|
||||
prettyPrintAttributes(D);
|
||||
if (D->isScoped()) {
|
||||
if (D->isScopedUsingClassTag())
|
||||
Out() << "class ";
|
||||
else
|
||||
Out() << "struct ";
|
||||
}
|
||||
prettyPrintAttributes(D);
|
||||
Out() << *D;
|
||||
|
||||
// if (D->isFixed())
|
||||
|
Loading…
x
Reference in New Issue
Block a user