forked from qt-creator/qt-creator
C++: Add QtPropertyDeclaration symbol.
Reviewed-by: Roberto Raggi
This commit is contained in:
@@ -403,6 +403,13 @@ public:
|
||||
return c;
|
||||
}
|
||||
|
||||
QtPropertyDeclaration *newQtPropertyDeclaration(unsigned sourceLocation, const Name *name)
|
||||
{
|
||||
QtPropertyDeclaration *d = new QtPropertyDeclaration(translationUnit, sourceLocation, name);
|
||||
symbols.push_back(d);
|
||||
return d;
|
||||
}
|
||||
|
||||
ObjCBaseClass *newObjCBaseClass(unsigned sourceLocation, const Name *name)
|
||||
{
|
||||
ObjCBaseClass *c = new ObjCBaseClass(translationUnit, sourceLocation, name);
|
||||
@@ -709,6 +716,10 @@ ForwardClassDeclaration *Control::newForwardClassDeclaration(unsigned sourceLoca
|
||||
const Name *name)
|
||||
{ return d->newForwardClassDeclaration(sourceLocation, name); }
|
||||
|
||||
QtPropertyDeclaration *Control::newQtPropertyDeclaration(unsigned sourceLocation,
|
||||
const Name *name)
|
||||
{ return d->newQtPropertyDeclaration(sourceLocation, name); }
|
||||
|
||||
ObjCBaseClass *Control::newObjCBaseClass(unsigned sourceLocation, const Name *name)
|
||||
{ return d->newObjCBaseClass(sourceLocation, name); }
|
||||
|
||||
|
Reference in New Issue
Block a user