Previously the location of a token immediately following an escaped newline was the location of the backslash character in the escaped newline.
The change to test/SemaTemplate/instantiation-depth.cpp is to work around a side-effect of this fix - the expected-error comment was getting the location of the backslash on the previous line before. I added the extra slashes so that the comment starts on the correct line.