]> granicus.if.org Git - clang/commit
Temporary preprocessor hack to get around the Microsoft __identifier(x) extension.
authorFrancois Pichet <pichet2000@gmail.com>
Sat, 7 May 2011 17:47:38 +0000 (17:47 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Sat, 7 May 2011 17:47:38 +0000 (17:47 +0000)
commita23ae3f45789f40cdfd939117284f977d2dc17a6
tree33a617c348e6776266b77934ace83f00dd7494b2
parentf986038beed360c031de8654cfba43a5d3184605
Temporary preprocessor hack to get around the Microsoft __identifier(x) extension.
http://msdn.microsoft.com/en-us/library/hzc8ytsz(v=VS.100).aspx

Microsoft doc claims this is a C++/CLI feature but it is really always enabled.
This removes 2 error when parsing MFC code with clang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131051 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/InitPreprocessor.cpp
test/Parser/MicrosoftExtensions.cpp