There's no need to skip filename checks for in-memory buffers, and indeed we want sourcekitd to behave the same for main.swift files as the compiler. SR-6624 rdar://36113282