Get rid of the prefix findOrInsert for the functions in CPlusPlus::Control.

This commit is contained in:
Roberto Raggi
2010-08-11 14:24:28 +02:00
parent f74ba9daef
commit 41b4af0501
17 changed files with 77 additions and 48 deletions

View File

@@ -190,8 +190,8 @@ public:
const Identifier *objcNonatomicId() const;
const Identifier *findIdentifier(const char *chars, unsigned size) const;
const Identifier *findOrInsertIdentifier(const char *chars, unsigned size);
const Identifier *findOrInsertIdentifier(const char *chars);
const Identifier *identifier(const char *chars, unsigned size);
const Identifier *identifier(const char *chars);
typedef const Identifier *const *IdentifierIterator;
typedef const StringLiteral *const *StringLiteralIterator;
@@ -206,11 +206,11 @@ public:
NumericLiteralIterator firstNumericLiteral() const;
NumericLiteralIterator lastNumericLiteral() const;
const StringLiteral *findOrInsertStringLiteral(const char *chars, unsigned size);
const StringLiteral *findOrInsertStringLiteral(const char *chars);
const StringLiteral *stringLiteral(const char *chars, unsigned size);
const StringLiteral *stringLiteral(const char *chars);
const NumericLiteral *findOrInsertNumericLiteral(const char *chars, unsigned size);
const NumericLiteral *findOrInsertNumericLiteral(const char *chars);
const NumericLiteral *numericLiteral(const char *chars, unsigned size);
const NumericLiteral *numericLiteral(const char *chars);
bool hasSymbol(Symbol *symbol) const;