[llvm] [TableGen] correctly escape dependency filenames (PR #160834)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 07:56:14 PDT 2025


================
@@ -0,0 +1,38 @@
+// RUN: rm -rf %t; split-file %s %t
+
+//--- normal-file.td
+class NormalClass {}
+
+//--- file with spaces.td
+class SpaceClass {}
+
+//--- file#with#hash.td
+class HashClass {}
+
+//--- file$with$dollar.td
+class DollarClass {}
+
+//--- file with escape\ before spaces.td
----------------
jayfoad wrote:

Can you also add a test for backslash _not_ before a space, since that is handled differently right?

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


More information about the llvm-commits mailing list