• Brad King's avatar
    cmState: Enforce policy scope balancing around variable scopes · 32edac6f
    Brad King authored
    Everywhere we use cmMakefile::ScopePushPop to manage variable scopes
    also expects policy scopes to be balanced.  There is no place that we
    use cmMakefile::PolicyPushPop without also using ScopePushPop.  Relieve
    PolicyPushPop of responsibility for policy scope balance checks by
    moving it to ScopePushPop.
cmState.cxx 51.4 KB