summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/integer-literal-printing.cpp
Commit message (Collapse)AuthorAgeFilesLines
* StmtPrinter: Write large char values using \u or \U.Jordan Rose2013-02-081-6/+6
| | | | | | | | | This may not always be valid, but we were previously just emitting them raw. While here, s/isprint/isPrintable/ (using the new CharInfo). llvm-svn: 174766
* SemaCXX: an enumeral type can be of character or boolean type in a C++11 ↵Benjamin Kramer2012-11-211-1/+67
| | | | | | | | enum class. Make sure we create a literal of the right type. Fixes PR14386. llvm-svn: 168441
* Improve the error message when a function overload candidate is rejectedKaelyn Uhrain2012-06-191-2/+2
| | | | | | | | | | | | | | | | | because it expects a reference and receives a non-l-value. For example, given: int foo(int &); template<int x> void b() { foo(x); } clang will now print "expects an l-value for 1st argument" instead of "no known conversion from 'int' to 'int &' for 1st argument". The change in wording (and associated code to detect the case) was prompted by comment #5 in PR3104, and should be the last bit of work needed for the bug. llvm-svn: 158691
* Remove test with int128 printing since it breaks on some platforms.Richard Trieu2011-11-071-8/+0
| | | | llvm-svn: 143997
* Add support for printing integer literals of type short, unsigned short,Richard Trieu2011-11-071-0/+21
__int128_t and __uint128_t. Short and unsigned short integer literals support is only to work around a crasher as reported in PR11179 and will be removed once Clang no longer builds short integer literals. llvm-svn: 143977
OpenPOWER on IntegriCloud