We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a329da0 commit 4cc50ddCopy full SHA for 4cc50dd
cpp/common/src/codingstandards/cpp/exceptions/ExceptionFlow.qll
@@ -122,9 +122,7 @@ TryStmt getNearestTry(Stmt s) {
122
}
123
124
/** Gets a try statement that contains the given statement. */
125
-TryStmt getATryStmt(Stmt s) {
126
- result.getStmt() = s.getEnclosingStmt().getEnclosingBlock*()
127
-}
+TryStmt getATryStmt(Stmt s) { result.getStmt() = s.getEnclosingStmt().getEnclosingBlock*() }
128
129
/** Gets the nearest parent catch block for the given statement. */
130
CatchBlock getNearestCatch(Stmt s) {
0 commit comments