clang.rb: add "template parsing" stuff from gccxmlrb -- for the time beeing

not a nice solution, maybe we find something better

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>
registry.rb+typelib.rb: load only clang.rb, use copied "template parsing" functions

and remove gccxml.rb

also remove this environment variable "TYPELIB_USE_GCCXML" -- I suppose its not used anymore?

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>
clang-tlb-import: test-cases while understanding the magic "template-type lookup problem"

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>
clang-tlb-import: testcase with an opaque which is itself a typdef

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>
clang-tlb-import: finally got the "smoking gun" for the opaque-problem

giving a template as opaque won't work. using a typedef for the template works.

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>
clang-typelib-import: rename test-headers to have ending "*.hh"

now clang recognizes them correctly as c++ headers, no need for manual switching anymore

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>
typelib-tlb-import: eigen-testcase: use correct "-isystem" instead of "-I"

that way the "isInSystemHeader()" call in the "SourceManager()" will actually start to work...

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>
clang.rb: nicer calling of external "clang" process

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>