summaryrefslogtreecommitdiffstats
path: root/qmake/library/qmakeevaluator.h
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2018-07-16 14:44:53 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2018-07-20 09:14:31 +0000
commit01eab308a3d6dbfc9739cc822fea064180350e18 (patch)
tree7d3188bc2b5d251109ae050226eede51994ef3c0 /qmake/library/qmakeevaluator.h
parentf17d33bebbb2d19abf725c20ee81a2dbe8658c9e (diff)
qmake: break out testFunc_cache() from evaluateBuiltinConditional()
It's 160ish lines and adequately isolated. Still, it *might* be contributing to compilers being slow (unlikely though that seems) so seemed worth tidying up anyway. Task-number: QTQAINFRA-2117 Change-Id: I9e55e677552c273fdf3480ccefc229fd6fd2b66a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'qmake/library/qmakeevaluator.h')
-rw-r--r--qmake/library/qmakeevaluator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/qmake/library/qmakeevaluator.h b/qmake/library/qmakeevaluator.h
index 1f0255e55a..dc35e1ddab 100644
--- a/qmake/library/qmakeevaluator.h
+++ b/qmake/library/qmakeevaluator.h
@@ -244,6 +244,11 @@ public:
#endif
QByteArray getCommandOutput(const QString &args, int *exitCode) const;
+private:
+ // Implementation detail of evaluateBuiltinConditional():
+ VisitReturn testFunc_cache(const ProStringList &args);
+
+public:
QMakeEvaluator *m_caller;
#ifdef PROEVALUATOR_CUMULATIVE
bool m_cumulative;