data: parse typedefs

- added callbacks that will be called when clang encounters typedefs.
- added tests for this feature.

review id = 20

fortune cookie message = New ideas could be profitable.
This commit is contained in:
malte_langkabel
2014-06-03 13:37:13 +02:00
parent 877ee4d56e
commit 4ff064cb1d
9 changed files with 100 additions and 0 deletions
+4
View File
@@ -26,6 +26,10 @@ public:
ParserClient();
virtual ~ParserClient();
virtual void onTypedefParsed(
const ParseLocation& location, const std::string& fullName, const std::string& underlyingFullName,
AccessType access
) = 0;
virtual void onClassParsed(const ParseLocation& location, const std::string& fullName, AccessType access) = 0;
virtual void onStructParsed(const ParseLocation& location, const std::string& fullName, AccessType access) = 0;