Cleanup warning, only occurrence analyze if AST changed.