From 369972ca5031942942bc788f42d45ee8b7300a9c Mon Sep 17 00:00:00 2001 From: firewave Date: Mon, 23 Oct 2023 10:39:11 +0200 Subject: [PATCH] ValueFlow: improved `checkLevelNormal` message --- lib/valueflow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/valueflow.cpp b/lib/valueflow.cpp index 2848c0e870d..a6206c63389 100644 --- a/lib/valueflow.cpp +++ b/lib/valueflow.cpp @@ -9350,8 +9350,8 @@ struct ValueFlowPassRunner { const ErrorMessage errmsg(callstack, state.tokenlist.getSourceFilePath(), Severity::information, - "ValueFlow analysis is limited in " + functionName + - ". Use --check-level=exhaustive if full analysis is wanted.", + "Limiting ValueFlow analysis in function '" + functionName + "' since it is too complex. " + "Please specify --check-level=exhaustive to perform full analysis.", "checkLevelNormal", Certainty::normal); state.errorLogger->reportErr(errmsg);