[clang-tools-extra] [clang-tidy] Preserve line endings in macro-to-enum fixes (PR #202054)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 6 12:59:04 PDT 2026
================
@@ -0,0 +1,3 @@
+// RUN: %python -c "from pathlib import Path; Path(r'%/t.cpp').write_bytes(b'#define RED 1\r\n#define GREEN 2\r\n')"
----------------
vbvictor wrote:
Please add explanation in file why it is so wierd and what we check.
https://github.com/llvm/llvm-project/pull/202054
More information about the cfe-commits
mailing list