mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
autoformat
This commit is contained in:
@@ -55,5 +55,5 @@ where
|
||||
cfg.hasFlowPath(source, sink) and
|
||||
source.getNode().asExpr().getFullyConverted().getUnspecifiedType() =
|
||||
sink.getNode().asExpr().getFullyConverted().getUnspecifiedType()
|
||||
select sink, source, sink,
|
||||
"This pointer arithmetic may be done with the wrong type because of $@.", source, "this cast"
|
||||
select sink, source, sink, "This pointer arithmetic may be done with the wrong type because of $@.",
|
||||
source, "this cast"
|
||||
|
||||
@@ -49,5 +49,4 @@ where
|
||||
c.hasImplicitConversion() and
|
||||
not whiteListWrapped(c)
|
||||
select c,
|
||||
"Return value of type " + t1.toString() + " is implicitly converted to " + t2.toString() +
|
||||
"."
|
||||
"Return value of type " + t1.toString() + " is implicitly converted to " + t2.toString() + "."
|
||||
|
||||
Reference in New Issue
Block a user