Files
codeql/cpp/ql/lib/change-notes/2022-04-12-if-and-switch-initializers.md

5 lines
221 B
Markdown

---
category: feature
---
* A `getInitialization` predicate was added to the `ConstexprIfStmt`, `IfStmt`, and `SwitchStmt` classes that yields the C++17-style initializer of the `if` or `switch` statement when it exists.