Skip to content

Commit 1aecc64

Browse files
committed
C++: Autoformat.
1 parent 45fdf69 commit 1aecc64

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

cpp/ql/lib/experimental/semmle/code/cpp/semantic/SemanticLocation.qll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ class SemLocation instanceof Location {
66
*
77
* The format is "file://filePath:startLine:startColumn:endLine:endColumn".
88
*/
9-
string toString() {
10-
result = super.toString()
11-
}
9+
string toString() { result = super.toString() }
10+
1211
/**
1312
* Holds if this element is at the specified location.
1413
* The location spans column `startcolumn` of line `startline` to

cpp/ql/lib/experimental/semmle/code/cpp/semantic/analysis/RangeAnalysisImpl.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ module ConstantBounds implements BoundSig<FloatDelta> {
3030

3131
private module RelativeBounds implements BoundSig<FloatDelta> {
3232
class SemBound instanceof SemanticBound::SemBound {
33-
SemBound() {
34-
not this instanceof SemanticBound::SemZeroBound
35-
}
33+
SemBound() { not this instanceof SemanticBound::SemZeroBound }
3634

3735
string toString() { result = super.toString() }
3836

0 commit comments

Comments
 (0)