Changeset 846 for trunk/tools/porting/src/semantic.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/tools/porting/src/semantic.cpp
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 769 769 { 770 770 // If this is a classSpecifier or a EnumSpecifier we skip the name lookup, 771 // bec uase looking up the name "E" in a class definition like771 // because looking up the name "E" in a class definition like 772 772 // "class E { ..." makes no sense. (There might be a variable named E 773 773 // already declared, but that variable is now shadowed by the class type.) … … 807 807 808 808 /* 809 looks up name used in basescope. If name->isGlobal() is true or if classOrNamespaceList()810 returns a non-em ty list, the C++ qualified name lookup rules are used. Otherwise the809 Looks up name used in basescope. If name->isGlobal() is true or if classOrNamespaceList() 810 returns a non-empty list, the C++ qualified name lookup rules are used. Otherwise the 811 811 unquialified name lookup rules are used. Returns the a list of members that was found, 812 In most cases this list will contain zero or one element, ex ept in the case of overloaded functions.812 In most cases this list will contain zero or one element, except in the case of overloaded functions. 813 813 TODO: Argument-dependent name lookup 814 814 */ … … 976 976 FunctionMember *Semantic::selectFunction(QList<CodeModel::Member*> candidatateList, const DeclaratorAST *functionDeclarator) 977 977 { 978 // get arguments for func iton we are looking for978 // get arguments for function we are looking for 979 979 FunctionMember testFunction; 980 980 parseFunctionArguments(functionDeclarator, &testFunction);
Note:
See TracChangeset
for help on using the changeset viewer.