Loading
clang: Stop using replace_extension when there's no extension (#195335)
The offload case is building a fresh filepath and there's no file extension to replace. Just directly append the file extension to avoid clobbering part of the path name if the triple contains a period. Avoids confusing test updates in future triple patch.