summaryrefslogtreecommitdiff
path: root/src/plugins/autotest/boost
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2020-11-18 22:42:51 +0100
committerAlessandro Portale <alessandro.portale@qt.io>2020-11-19 08:42:14 +0000
commitb2a766a79ac778febff87f0def34cf6d3f4f93e3 (patch)
tree8948acefd801721406f4e4015dde6616f4ee0303 /src/plugins/autotest/boost
parent0c0347ce61a55b972178a8a07bb4f0c819555219 (diff)
downloadqt-creator-b2a766a79ac778febff87f0def34cf6d3f4f93e3.tar.gz
Don't access static functions/fields via instance
Courtesy of readability-static-accessed-through-instance Change-Id: I71f54244f1e091315dac2943d9e1bfad6efa56a9 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/plugins/autotest/boost')
-rw-r--r--src/plugins/autotest/boost/boostcodeparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/autotest/boost/boostcodeparser.cpp b/src/plugins/autotest/boost/boostcodeparser.cpp
index d345242da3..7b8f57a0aa 100644
--- a/src/plugins/autotest/boost/boostcodeparser.cpp
+++ b/src/plugins/autotest/boost/boostcodeparser.cpp
@@ -364,7 +364,7 @@ bool BoostCodeParser::isBoostBindCall(const QByteArray &function)
for (const LookupItem &item : lookupItems) {
if (Symbol *symbol = item.declaration()) {
const QString fullQualified = overview.prettyName(
- m_lookupContext.fullyQualifiedName(symbol->enclosingNamespace()));
+ LookupContext::fullyQualifiedName(symbol->enclosingNamespace()));
if (fullQualified == "boost")
return true;
}
@@ -382,7 +382,7 @@ bool BoostCodeParser::aliasedOrRealNamespace(const QByteArray &symbolName,
for (const LookupItem &it : lookup) {
if (auto classOrNamespaceSymbol = it.declaration()) {
const QString fullQualified = overview.prettyName(
- m_lookupContext.fullyQualifiedName(classOrNamespaceSymbol));
+ LookupContext::fullyQualifiedName(classOrNamespaceSymbol));
if (fullQualified == origNamespace) {
*aliasedOrReal = true;
if (simplifiedName)