From debb662b8cb25c28cfe3c113f22e3529aff79c00 Mon Sep 17 00:00:00 2001 From: Dave Bartolomeo Date: Mon, 21 Oct 2019 10:55:59 -0700 Subject: [PATCH] C++: Reformat comment --- cpp/ql/src/semmle/code/cpp/ir/internal/CppType.qll | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/cpp/ql/src/semmle/code/cpp/ir/internal/CppType.qll b/cpp/ql/src/semmle/code/cpp/ir/internal/CppType.qll index c5ebd08f65f..6f17d53e6cf 100644 --- a/cpp/ql/src/semmle/code/cpp/ir/internal/CppType.qll +++ b/cpp/ql/src/semmle/code/cpp/ir/internal/CppType.qll @@ -415,12 +415,10 @@ CppWrappedType getCanonicalBooleanType(int byteSize) { * Compute the sorting priority of an `IntegralType` based on its signedness. */ private int getSignPriority(IntegralType type) { - /* - Explicitly unsigned types sort first. Explicitly signed types sort last. Types with no explicit - signedness sort in between. This lets us always choose `int` over `signed int`, while also - choosing `unsigned char`+`char` when `char` is signed, and `unsigned char`+`signed char` when - `char` is unsigned. - */ + // Explicitly unsigned types sort first. Explicitly signed types sort last. Types with no explicit + // signedness sort in between. This lets us always choose `int` over `signed int`, while also + // choosing `unsigned char`+`char` when `char` is signed, and `unsigned char`+`signed char` when + // `char` is unsigned. if type.isExplicitlyUnsigned() then result = 2 else if type.isExplicitlySigned()