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

Vivien Leroy via cfe-dev cfe-dev at lists.llvm.org
Tue May 11 14:36:22 PDT 2021


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!


More information about the cfe-dev mailing list