From 2faae4dcb19509df24c29af217972c4c33384db3 Mon Sep 17 00:00:00 2001 From: Geoffrey White <40627776+geoffw0@users.noreply.github.com> Date: Tue, 3 Dec 2019 08:59:15 +0000 Subject: [PATCH] CPP: Autoformat. --- cpp/ql/test/library-tests/allocators/allocators.ql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpp/ql/test/library-tests/allocators/allocators.ql b/cpp/ql/test/library-tests/allocators/allocators.ql index 6ff8106d38b..37603f77a3e 100644 --- a/cpp/ql/test/library-tests/allocators/allocators.ql +++ b/cpp/ql/test/library-tests/allocators/allocators.ql @@ -13,7 +13,8 @@ query predicate newExprs(NewExpr expr, string type, string sig, int size, int al } query predicate newArrayExprs( - NewArrayExpr expr, string t1, string t2, string sig, int size, int alignment, string form, string extents + NewArrayExpr expr, string t1, string t2, string sig, int size, int alignment, string form, + string extents ) { exists(Function allocator, Type arrayType, Type elementType | expr.getAllocator() = allocator and @@ -24,7 +25,7 @@ query predicate newArrayExprs( t2 = elementType.toString() and size = elementType.getSize() and alignment = elementType.getAlignment() and - if expr.hasAlignedAllocation() then form = "aligned" else form = "" and + (if expr.hasAlignedAllocation() then form = "aligned" else form = "") and extents = concat(Expr e | e = expr.getExtent() | e.toString(), ", ") ) }