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

Andrey Bokhanko andreybokhanko at gmail.com
Wed May 20 05:47:45 PDT 2015


Reid, thank you for the review!

I fixed the use-after-free bug you found (good catch, BTW!) I also created a test that checks -E (not sure this is exactly what you wanted; let me know if I misunderstood you).


http://reviews.llvm.org/D9856

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

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


More information about the cfe-commits mailing list