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)
commit65a407c2ceabcb6ff8f62c45ff8de2b473823e2c
treef28c8426cf8ea77f4f185b331ba104819bf0899b
parent30d7731032d7c841b1dfa9ad0900d8ae987fab11
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

llvm-svn: 211441
clang/include/clang/Lex/LiteralSupport.h
clang/lib/AST/StmtPrinter.cpp
clang/lib/Lex/LiteralSupport.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/SemaCXX/ms_integer_suffix.cpp [new file with mode: 0644]
clang/unittests/AST/StmtPrinterTest.cpp