C++: Mark constexpr if as unevalauted.

This commit is contained in:
Mathias Vorreiter Pedersen
2024-07-31 13:09:12 +01:00
parent 4e62dc81d2
commit fe575df325
2 changed files with 8 additions and 0 deletions

View File

@@ -307,6 +307,10 @@ class Expr extends StmtParent, @expr {
)
or
exists(Decltype d | d.getExpr() = this.getParentWithConversions*())
or
exists(ConstexprIfStmt constIf |
constIf.getControllingExpr() = this.getParentWithConversions*()
)
}
/**