[clang] [Clang] [Diagnostics] Simplify filenames that contain '..' (PR #143520)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 2 02:57:33 PDT 2025


================
@@ -35,6 +35,7 @@ namespace clang {
 class TextDiagnostic : public DiagnosticRenderer {
   raw_ostream &OS;
   const Preprocessor *PP;
+  llvm::StringMap<SmallString<128>> SimplifiedFileNameCache;
----------------
Sirraide wrote:

Not anymore; forgot to remove that.

https://github.com/llvm/llvm-project/pull/143520


More information about the cfe-commits mailing list