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);
-8
View File
@@ -1,8 +0,0 @@
Graph.cpp ERROR: Can't remove member edge, without removing the child node.
TextAccess.cpp WARNING: Index 'firstLine' has to be lower or equal index 'lastLine', is 2 > 1
TextAccess.cpp WARNING: Tried to access index 9. Maximum index is 7
TextAccess.cpp WARNING: Tried to access index 9. Maximum index is 7
TextAccess.cpp WARNING: Line numbers start with one, is 0
TextAccess.cpp WARNING: Line numbers start with one, is 0
TokenLocationCollection.cpp ERROR: Can't create TokenLocation with wrong boundaries.
TokenLocationCollection.cpp ERROR: Can't create TokenLocation with wrong boundaries.