[cfe-dev] propagating checker state for duration of a block

Richard tarka.t.otter at googlemail.com
Mon Dec 17 08:55:03 PST 2012


hello

i am trying to write a checker that needs to propagate state for the duration of the branch blocks. can anyone suggest a good pattern for this? i can easily set state in the checkBranchCondition callback, but there does not seem to be any way to know when the branch block is complete, so it is not possible to know when to clear the state. ideally there would be a checkBlockEdge callback or something similar, then i could associate the state with the block id and it would be simple to know when to clear it. i cannot use the branch condition symbol as the state key as it will be purged as soon as the block starts.

is there already a way to do this that i am missing?

thanks



More information about the cfe-dev mailing list