]> granicus.if.org Git - clang/commit
Lex: Use the correct types for MS integer suffixes
authorDavid Majnemer <david.majnemer@gmail.com>
Sat, 21 Jun 2014 18:46:07 +0000 (18:46 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sat, 21 Jun 2014 18:46:07 +0000 (18:46 +0000)
commit52ce795128022a5350050f7b8cd76cf56227c8ca
tree6b19d7d8cb644dc5c3970281280174aa84dd8fad
parente26b3797f8baf47892aafd9d06fac8cc6235dafc
Lex: Use the correct types for MS integer suffixes

Something went wrong with r211426, it is an older version of this code
and should not have been committed.  It was reverted with r211434.

Original commit message:
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.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211441 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/LiteralSupport.h
lib/AST/StmtPrinter.cpp
lib/Lex/LiteralSupport.cpp
lib/Sema/SemaExpr.cpp
test/SemaCXX/ms_integer_suffix.cpp [new file with mode: 0644]
unittests/AST/StmtPrinterTest.cpp