aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2018-06-07 14:23:07 +0200
committerIvan Donchevskii <ivan.donchevskii@qt.io>2018-06-15 12:15:22 +0000
commite1111d45707e99db3390941384d41a2fe936bcb2 (patch)
treecd6d7ccd78a40b9c12ed8062acf33947834aa982 /tests
parent75cda95039e64cb38de83906bf9482f28602c12c (diff)
Clang: Use built-in follow symbol for virtual methods
ClangCodeModel currently does not provide a list of overrides. Therefore it makes sense to use ClangCodeModel result for virtual method only if built-in code model does not find anything. Task-number: QTCREATORBUG-20584 Change-Id: I5b4fac7974f990e741d3438ab61827670a8ce8d8 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/unittest/gtest-creator-printing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/unittest/gtest-creator-printing.cpp b/tests/unit/unittest/gtest-creator-printing.cpp
index a6d6118bcc..a3e5a8982b 100644
--- a/tests/unit/unittest/gtest-creator-printing.cpp
+++ b/tests/unit/unittest/gtest-creator-printing.cpp
@@ -241,7 +241,7 @@ std::ostream &operator<<(std::ostream &os, const FollowSymbolResult &result)
{
os << "("
<< result.range
- << ", " << result.isPureDeclarationForUsage
+ << ", " << result.isResultOnlyForFallBack
<< ")";
return os;