data: complex typename parsing

Added DataType class that can be constructed with a clang::qualType.
DataType keeps an internal QualifierList and ModifierStack.
This commit is contained in:
malte_langkabel
2014-07-09 11:00:35 +02:00
parent f6e6c93f71
commit 78704b6407
20 changed files with 410 additions and 28 deletions
+21
View File
@@ -1,3 +1,24 @@
/*
class e
{
};
class x: public e
{
};
struct y;
enum z;
x foox();
y fooy();
z fooz();
*/
const bool *ab(int a, int b);
bool const *abc(int a, int b);
bool *const abcd(int a, int b);
int main();
void foo();
int sum(int a, int b);