]> granicus.if.org Git - clang/commit
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)
commit0495e8d5caf982bc13d8c2ac6a9a221480750119
treef18541df5078ce5d4fb3409ca3fa2dc201439151
parent9a5a6f0e149ba035168641ca6dc4e3b3e5aa29b5
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@238129 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/Pragma.cpp
test/Preprocessor/pragma_microsoft.c