forked from qt-creator/qt-creator
Added the methods to get all the identifiers used in a translation unit.
This commit is contained in:
@@ -511,6 +511,12 @@ Identifier *Control::findOrInsertIdentifier(const char *chars)
|
||||
return findOrInsertIdentifier(chars, length);
|
||||
}
|
||||
|
||||
Control::IdentifierIterator Control::firstIdentifier() const
|
||||
{ return d->identifiers.begin(); }
|
||||
|
||||
Control::IdentifierIterator Control::lastIdentifier() const
|
||||
{ return d->identifiers.end(); }
|
||||
|
||||
StringLiteral *Control::findOrInsertStringLiteral(const char *chars, unsigned size)
|
||||
{ return d->stringLiterals.findOrInsertLiteral(chars, size); }
|
||||
|
||||
|
Reference in New Issue
Block a user