Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4cc50dd

Browse filesBrowse files
Format missed file ExceptionFlow.qll
1 parent a329da0 commit 4cc50dd
Copy full SHA for 4cc50dd

File tree

1 file changed

+1
-3
lines changed
Filter options

1 file changed

+1
-3
lines changed

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

Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exceptions/ExceptionFlow.qll
+1-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.