diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2010-08-11 14:24:28 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2010-08-11 15:25:19 +0200 |
commit | 41b4af05010ef9ae564fcff00b904f22c5f617e0 (patch) | |
tree | 915171245238821c9b3559ae269d3d8e4b4081e1 /src/shared/cplusplus/CheckName.cpp | |
parent | f74ba9daef50a0b267056c8753819d59621fc000 (diff) | |
download | qt-creator-41b4af05010ef9ae564fcff00b904f22c5f617e0.tar.gz |
Get rid of the prefix findOrInsert for the functions in CPlusPlus::Control.
Diffstat (limited to 'src/shared/cplusplus/CheckName.cpp')
-rw-r--r-- | src/shared/cplusplus/CheckName.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cplusplus/CheckName.cpp b/src/shared/cplusplus/CheckName.cpp index 4fccbcd759..c1a27b2166 100644 --- a/src/shared/cplusplus/CheckName.cpp +++ b/src/shared/cplusplus/CheckName.cpp @@ -377,7 +377,7 @@ bool CheckName::visit(ObjCSelectorAST *ast) bool hasArgs = false; for (ObjCSelectorArgumentListAST *it = ast->selector_argument_list; it; it = it->next) { if (it->value->name_token) { - const Identifier *id = control()->findOrInsertIdentifier(spell(it->value->name_token)); + const Identifier *id = control()->identifier(spell(it->value->name_token)); const NameId *nameId = control()->nameId(id); names.push_back(nameId); |