[PATCH] Lex: Use the correct types for MS integer suffixes

David Majnemer david.majnemer at gmail.com
Fri Jun 13 04:10:35 PDT 2014


Hi rsmith, rnk,

We didn't properly implement support for the sized integer suffixes.
Suffixes like i16 were essentially ignored instead of mapping them to
the appropriately sized integer type.

This fixes PR20008.

http://reviews.llvm.org/D4132

Files:
  include/clang/Lex/LiteralSupport.h
  lib/AST/StmtPrinter.cpp
  lib/Lex/LiteralSupport.cpp
  lib/Sema/SemaExpr.cpp
  test/SemaCXX/ms_integer_suffix.cpp
  unittests/AST/StmtPrinterTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4132.10382.patch
Type: text/x-patch
Size: 7268 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140613/0495ef43/attachment.bin>


More information about the cfe-commits mailing list