Where is the nonce incremented in Bitcoin source code? Where is the nonce incremented in Bitcoin source code?
I found where the extra nonce is incremented, but not the regular nonce?
Line 132 in src/mining.cpp in the generateBlocks method.

while (nMaxTries &gt; 0 &amp;&amp; pblock-&gt;nNonce &lt; nInnerLoopCount &amp;&amp; !CheckProofOfWork(pblock-&gt;GetHash(), pblock-&gt;nBits, Params().GetConsensus())) {
    ++pblock-&gt;nNonce;
    --nMaxTries;
}


Update: Given @MeshCollider's answer I guess this is now only relevant on the regtest network.