[umbrello] [Bug 369538] Implement a C++ parser using Clang

Ralf Habacker via KDE Bugzilla bugzilla_noreply at kde.org
Tue Oct 4 12:55:38 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=369538

Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ralf.habacker at freenet.de

--- Comment #5 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to Shawn McKenney from comment #2)
> Created attachment 101354 [details]
> TreeParser inheritance

>From the testllvmparse unit test you can see that clang provides the template
class RecursiveASTVisitor for exactly that purpose.  See class
FindNamedClassVisitor, which already uses a subset of the provided methods like 
    bool VisitStmt(Stmt *s)
    bool VisitCXXRecordDecl(CXXRecordDecl *Declaration)

this may change your proposed design in this area.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list