C++: Remove @stmt_while from the TConditionalStmt union type.

This commit is contained in:
Mathias Vorreiter Pedersen
2020-07-10 15:51:34 +02:00
parent 567984af3d
commit 7cc83da97a

View File

@@ -200,7 +200,7 @@ class ControlStructure extends Stmt, TControlStructure {
Declaration getADeclaration() { none() }
}
private class TConditionalStmt = @stmt_if or @stmt_constexpr_if or @stmt_while or @stmt_switch;
private class TConditionalStmt = @stmt_if or @stmt_constexpr_if or @stmt_switch;
/**
* A C/C++ conditional statement, that is, either an 'if' statement or a