propagate semExpr flags in macro/template expansion