These classes only need a StringRef, not a MemoryBuffer.