From 9ae1ec69dcc2d78c33c6f691acf3c0401fafa656 Mon Sep 17 00:00:00 2001 From: Geoffrey White <40627776+geoffw0@users.noreply.github.com> Date: Wed, 23 Mar 2022 13:37:39 +0000 Subject: [PATCH] C++: Autoformat. --- .../semmle/code/cpp/models/interfaces/FormattingFunction.qll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/ql/lib/semmle/code/cpp/models/interfaces/FormattingFunction.qll b/cpp/ql/lib/semmle/code/cpp/models/interfaces/FormattingFunction.qll index 699d74e083d..5f128bc55e8 100644 --- a/cpp/ql/lib/semmle/code/cpp/models/interfaces/FormattingFunction.qll +++ b/cpp/ql/lib/semmle/code/cpp/models/interfaces/FormattingFunction.qll @@ -92,7 +92,8 @@ abstract class FormattingFunction extends ArrayFunction, TaintFunction { * snapshots there may be multiple results where we can't tell which is correct for a * particular function. */ - pragma[nomagic] Type getWideCharType() { + pragma[nomagic] + Type getWideCharType() { result = getFormatCharType() and result.getSize() > 1 or