Skip to content
Snippets Groups Projects
Commit a11d9043 authored by Danilo Piparo's avatar Danilo Piparo
Browse files

[TCling][ROOT-9660] Do not fwd declare on library load enums Cling knows already

the fix consists in a rewrite of the parser of enum fwd declarations which come
from dictionaries. Those are created by Cling's forward declarator.
The previous implementation was assuming namespace declarations and enum fwd
declarations on different lines, e.g.

namespace mystuff{
enum  __attribute__((annotate("$clingAutoload$myenum.h"))) myenum : unsigned int;
}

while in reality the declaration looks like
namespace mystuff{enum  __attribute__((annotate("$clingAutoload$myenum.h"))) myenum : unsigned int;}
parent 22c5dd19
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.
Finish editing this message first!
Please register or to comment