Hi Guys,
There is no equivalent of global_namespace in the C frontend. Tom, the 
C++ front end is just better :)
I will make the plugins work in C as soon as I  have a chance. There is 
a bug filed for it.

Taras

Tom Tromey wrote:
>>>>>> "Kevin" == Kevin Tew <[EMAIL PROTECTED]> writes:
> 
> Kevin> I tried using gcc_dehydra.so from gcc, but ran into unknown symbol:
> Kevin> global_namespace.  There has to be a top-level compile unit tree that
> Kevin> could be used in gcc in place of global_namespace.
> 
> Look in c-decl.c.  Maybe all_translation_units is what you want.  Also
> look at ext_block and pop_file_scope.
> 
> Tom

_______________________________________________
Dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to