vhscampos wrote:

I'm out of my depth in this area, but I used Codex to find bugs in your patch 
and it found a bug. See below:

```c
 #line 1 "\\\\server\\share\\file.c"
  int x = "bad";
```

  Run with the patched Clang:

```
  clang -fsyntax-only repro.c
  clang -E repro.c -o repro.i
  clang -fsyntax-only repro.i
```

  Results:

  Direct:   \\server\share\file.c
  Two-pass: \server\share\file.c

  The two-pass compilation incorrectly loses one leading backslash.

https://github.com/llvm/llvm-project/pull/215992
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to