Introduced LiteralTable::findLiteral() and Control::findIdentifier()

This commit is contained in:
Roberto Raggi
2009-09-07 13:39:46 +02:00
parent 8848be4caa
commit 6c347a12c6
3 changed files with 20 additions and 1 deletions

View File

@@ -166,6 +166,8 @@ public:
/// Creates a new Objective-C method symbol.
ObjCMethod *newObjCMethod(unsigned sourceLocation, Name *name = 0);
Identifier *findIdentifier(const char *chars, unsigned size) const;
Identifier *findOrInsertIdentifier(const char *chars, unsigned size);
Identifier *findOrInsertIdentifier(const char *chars);