Here Scott Lawson tells us that in the formula below:
$$\Delta S=\frac{\Delta Q}{T}$$
the heat added, $\Delta Q$, must be reversibly added. Rewriting the formula we get:
$$\Delta S=\frac{\Delta Q_{rev}}{T}\tag{1}$$
Mr. Lawson is correct according to this answer and also Wikipedia. Now, let us consider another formula:
$$dS=\frac{dQ}{T}\tag{2}$$
Now, here, I don't think it matters if the heat is added reversibly or irreversibly because the heat added is infinitesimal. Due to the addition of this infinitesimal heat, the infinitesimal increase in entropy is $dS$. So, I think both $dQ$ and $dQ_{rev}$ indicate the same thing here and $dS$ in both cases will be the same. Am I correct?