[Diagnostics] Remove the C++ formatter for the "Swift" diagnostic style

We'll be using the new swift-syntax diagnostic formatter in the near
future, as it is nearly available on all host platforms. So, remove
the C++ formatter that did source-line annotation, falling back to the
"LLVM" style when swift-syntax is not compiled in.
This commit is contained in:
Doug Gregor
2023-09-04 22:22:17 -07:00
parent c7881fbae2
commit 9bf512adf0
7 changed files with 54 additions and 880 deletions

View File

@@ -410,8 +410,6 @@ public:
SourceLoc();
}
std::string getLineString(unsigned BufferID, unsigned LineNumber);
/// Retrieve the buffer ID for \p Path, loading if necessary.
unsigned getExternalSourceBufferID(StringRef Path);