From a124dcf43654ed6e851deb4e1a78ffaa646a8a19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nora=20Dimitrijevi=C4=87?= Date: Fri, 30 Sep 2022 00:06:53 +0200 Subject: [PATCH] C++: Update QLDoc Arguably warning, not just recommendation; it may be a logic error. TODO: What CWE/CVEs should I tag this with? --- .../Likely Errors/CommaBeforeMisleadingIndentation.ql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/ql/src/Best Practices/Likely Errors/CommaBeforeMisleadingIndentation.ql b/cpp/ql/src/Best Practices/Likely Errors/CommaBeforeMisleadingIndentation.ql index 30d4d68a41e..d059e92d1c9 100644 --- a/cpp/ql/src/Best Practices/Likely Errors/CommaBeforeMisleadingIndentation.ql +++ b/cpp/ql/src/Best Practices/Likely Errors/CommaBeforeMisleadingIndentation.ql @@ -3,7 +3,8 @@ * @description The expressions before and after the comma operator can be misread because of an unusual difference in start columns. * @kind problem * @id cpp/comma-before-misleading-indentation - * @problem.severity recommendation + * @problem.severity warning + * @precision medium * @tags maintainability * readability */