Skip to content

Commit 4cc50dd

Browse files
Format missed file ExceptionFlow.qll
1 parent a329da0 commit 4cc50dd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cpp/common/src/codingstandards/cpp/exceptions/ExceptionFlow.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ TryStmt getNearestTry(Stmt s) {
122122
}
123123

124124
/** Gets a try statement that contains the given statement. */
125-
TryStmt getATryStmt(Stmt s) {
126-
result.getStmt() = s.getEnclosingStmt().getEnclosingBlock*()
127-
}
125+
TryStmt getATryStmt(Stmt s) { result.getStmt() = s.getEnclosingStmt().getEnclosingBlock*() }
128126

129127
/** Gets the nearest parent catch block for the given statement. */
130128
CatchBlock getNearestCatch(Stmt s) {

0 commit comments

Comments
 (0)