| Issue |
87556
|
| Summary |
[Clang] MSVC compatibility, token paste with non-tokens
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
wasabii
|
```
DebugPrintD3DError(res, " " ## #EXPR ## " failed in " ## THIS_FILE); \
```
Found this guy in the wild. Win32 related code. Works in MSVC. In a macro. Works fine if you take off the token-pasting, since "" "" is string concat. I think the idea here is MSVC allows token pasting when the left andor right aren't actual tokens, and just continues. So effectively they are ignored.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs