Skip to content

Commit 2cbb152

Browse files
committed
Apply query formatting
1 parent 9ca33f3 commit 2cbb152

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cpp/common/src/codingstandards/cpp/Operator.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,9 @@ class StreamExtractionOperator extends Function {
294294
then this.getNumberOfParameters() = 1
295295
else (
296296
this.getNumberOfParameters() = 2 and
297-
this.getParameter(0).getType() instanceof IStream
297+
this.getParameter(0).getType() instanceof IStream
298298
)
299299
) and
300-
this.getType() instanceof IStream
300+
this.getType() instanceof IStream
301301
}
302302
}

cpp/common/src/codingstandards/cpp/standardlibrary/FileStreams.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class FileStream extends ClassTemplateInstantiation {
2525
* A `basic_istream` like `std::istream`
2626
*/
2727
class IStream extends Type {
28-
IStream() {
28+
IStream() {
2929
this.(Class).getQualifiedName().matches("std::basic\\_istream%")
3030
or
3131
this.getUnspecifiedType() instanceof IStream
@@ -40,7 +40,7 @@ class IStream extends Type {
4040
* A `basic_ostream` like `std::ostream`
4141
*/
4242
class OStream extends Type {
43-
OStream() {
43+
OStream() {
4444
this.(Class).getQualifiedName().matches("std::basic\\_ostream%")
4545
or
4646
this.getUnspecifiedType() instanceof OStream

0 commit comments

Comments
 (0)