[PATCH] Fix for #pragma warning to work correctly with "1-4:" specifiers

Andrey Bokhanko andreybokhanko at gmail.com
Tue May 19 09:06:13 PDT 2015


Hi rnk, rsmith,

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.

http://reviews.llvm.org/D9856

Files:
  lib/Lex/Pragma.cpp
  test/Preprocessor/pragma_microsoft.c

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9856.26067.patch
Type: text/x-patch
Size: 3769 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150519/1e49fda4/attachment.bin>


More information about the cfe-commits mailing list