Skip to content

controls and valueControls (cpp) #16890

Answered by MathiasVP
Sixelayo asked this question in Q&A
Discussion options

You must be logged in to vote

But wait ... wasn't it explicitly stated in GuardedCondition that it doesn't take switch case statement into account ? So what's the point of valueControls?

It looks like the QLDoc for hasn't been updated since we added support for switch statements (for what it's worth, this was done in #15941). I've opened a PR to fix the documentation here.

That should hopefully take care of the first part of your question :)

Now let's take the next part:

Nor do I understand what does "dertermined by this guard" means in the documentation despite reading this I supposed it means "in the direct basic block after evaluation" [...]

"determined by this guard" means "implied by this guard". That is, if …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Sixelayo
Comment options

Answer selected by Sixelayo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants