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

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 2 00:53:14 PDT 2025


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

Is this used?

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


More information about the cfe-commits mailing list