diff options
author | Will Wilson <will@indefiant.com> | 2015-04-17 12:43:57 +0000 |
---|---|---|
committer | Will Wilson <will@indefiant.com> | 2015-04-17 12:43:57 +0000 |
commit | db2588ab828b9a689af33ef85b63a20fd494c843 (patch) | |
tree | 60b25dcc4bff0ad8fe10786c1b504f5645a7c61b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 7f4e07befc5a22b48e30aa8abc4fe98b22bfa784 (diff) | |
download | bcm5719-llvm-db2588ab828b9a689af33ef85b63a20fd494c843.tar.gz bcm5719-llvm-db2588ab828b9a689af33ef85b63a20fd494c843.zip |
[MSVC] Mimic MSVC whitespace collapse for incompatible token pasting
In public MS headers for XAudio, clang would fail to generate a valid UUID due to the UUID components being combined with the '-' UUID separators. Clang would attempting to recover but would preserve the leading whitespace from the tokens after each failed paste leading to spaces creeping into the UUID and causing an error in the __declspace(uuid()) parsing.
Reference: Microsoft DirectX SDK (June 2010)\Include\XAudio2.h(51)
Resolves http://llvm.org/pr23071
llvm-svn: 235186
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions