Bug fix for PR23577 (https://llvm.org/bugs/show_bug.cgi?id=23577#c0).
authorAlexander Musman <alexander.musman@gmail.com>
Mon, 25 May 2015 11:21:20 +0000 (11:21 +0000)
committerAlexander Musman <alexander.musman@gmail.com>
Mon, 25 May 2015 11:21:20 +0000 (11:21 +0000)
commit6b080fcda5ecdf89aa7d0fe0ba1ff5d5e963c4b2
tree9074b1cf0b6799a083e660b42d8e59255cb60ec1
parent654e0ca650a2acc696bca8ef22457ff9be4cb875
Bug fix for PR23577 (https://llvm.org/bugs/show_bug.cgi?id=23577#c0).
"1-4" specifiers are returned as numeric constants, not identifiers,
and should be treated as such. Currently pragma handler incorrectly
assumes that they are returned as identifiers.

Patch by Andrey Bokhanko.

Differential Revision: http://reviews.llvm.org/D9856

llvm-svn: 238129
clang/lib/Lex/Pragma.cpp
clang/test/Preprocessor/pragma_microsoft.c