Issue | 133965 |
---|---|
Summary | Incorrect spacing in macro stringizing |
Labels | |
Assignees | |
Reporter | kyuupichan |
#define str(x) #x #define xstr(x) str(x) #define f(x) x : xstr(+f())
With the empty argument to f, the space before the colon somehow gets eaten. I believe this should expand to "+ :" with a space before the colon which is what GCC does.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs