Skip to content

Commit 9442be1

Browse files
author
Robert Marsh
committed
Autoformat
1 parent 3c1ec5a commit 9442be1

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/IRConstruction.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module Raw {
3434

3535
cached
3636
predicate functionHasIR(Function func) { exists(getTranslatedFunction(func)) }
37-
37+
3838
cached
3939
predicate varHasIRFunc(GlobalOrNamespaceVariable var) { any() } // TODO: restrict?
4040

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedElement.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,4 +955,4 @@ abstract class TranslatedRootElement extends TranslatedElement {
955955
or
956956
this instanceof TTranslatedGlobalOrNamespaceVarInit
957957
}
958-
}
958+
}

csharp/ql/src/experimental/ir/internal/IRCSharpLanguage.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ class OpaqueTypeTag = CSharp::ValueOrRefType;
99
class Function = CSharp::Callable;
1010

1111
class GlobalVariable extends CSharp::Field {
12-
GlobalVariable() {
13-
this.isStatic()
14-
}
12+
GlobalVariable() { this.isStatic() }
1513
}
1614

1715
class Declaration = CSharp::Declaration;

0 commit comments

Comments
 (0)