[cfe-dev] '?' replaced by '+'

David Blaikie via cfe-dev cfe-dev at lists.llvm.org
Wed Jun 2 16:03:37 PDT 2021


Nothing that springs to mind - might be some encoding issue. Check the
text encoding of the input and output files? Hexdump to verify exactly
what the character is?

On Tue, May 25, 2021 at 6:53 PM Vivien Leroy via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
>
> Hi,
>
> Is anyone aware of a clang feature that would replace the ‘?’ character from a random text file (interpreted as C through `-x c` though not containing C code) to replace it with ‘+’.
> I’m running clang's preprocessor stage like this `clang -E -P -x c my_file.txt`.
> I have no clue what’s happening, sadly I can’t experiment much as it’s not happening on my own machine as I’m trying to help someone who has that issue I can’t reproduce.
>
> Thanks!
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


More information about the cfe-dev mailing list