Voltage regulator protection diode - connected by pours?
That diode is merely to protect the regulator chip in the event that Vin ever becomes lower than Vout.  This is usually at power down and depends on the loads.  It's not high frequency, so layout is not that important.  What you have will work just fine.