hanchenye-llvm-project/clang/test/Lexer
John McCall 18a2c2c0b9 Split out -Wconversion warnings about constant precision into their
own subcategory, -Wconstant-conversion, which is on by default.

Tweak the constant folder to give better results in the invalid
case of a negative shift amount.

Implements rdar://problem/6792488

llvm-svn: 118636
2010-11-09 22:22:12 +00:00
..
11-27-2007-FloatLiterals.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
badstring_in_if0.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
block_cmt_end.c change the 'invalid token after top level declarator' message to be 2010-07-11 22:46:04 +00:00
c90.c Add support for UCNs for character literals 2010-10-09 00:27:47 +00:00
char-escapes.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
clang-keywords.cpp Add __char16_t and __char32_t as aliases for the C++0x char16_t and 2010-09-13 23:21:44 +00:00
comment-escape.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
conflict-marker.c robustify the conflict marker stuff. Don't add 7 twice, which would 2010-05-17 20:27:25 +00:00
constants.c Split out -Wconversion warnings about constant precision into their 2010-11-09 22:22:12 +00:00
counter.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
cxx0x_keyword.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
cxx0x_keyword_as_cxx98.cpp Add __char16_t and __char32_t as aliases for the C++0x char16_t and 2010-09-13 23:21:44 +00:00
digraph.c tests: Use -ffreestanding when including stdint.h, to avoid platform dependencies. 2010-09-07 22:54:28 +00:00
dollar-idents.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
escape_newline.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
gnu_keywords.c Daniel re-educated me about what Alias does and does not do. Turn that off for 2010-05-22 02:21:53 +00:00
has_attribute.cpp Add a __has_attribute macro that works much like __has_feature and __has_builtin. 2010-10-20 02:31:43 +00:00
has_feature_cxx0x.cpp Allow the use of C++0x deleted functions as an extension in C++98. 2010-09-24 21:25:25 +00:00
has_feature_exceptions.cpp tests: Use %clangxx when using driver for C++, in case C++ support is disabled. 2010-06-29 16:52:24 +00:00
has_feature_rtti.cpp tests: Use %clangxx when using driver for C++, in case C++ support is disabled. 2010-06-29 16:52:24 +00:00
hexfloat.cpp A bug I've introduced in STDIN handling surfaced a few broken tests, fix them. 2010-06-25 12:48:07 +00:00
ms-extensions.c allow I128 suffixes in msextensions mode just like i128 suffixes, patch 2010-10-14 00:24:10 +00:00
msdos-cpm-eof.c reimplement r90860, fixing a couple of problems: 2009-12-17 05:29:40 +00:00
multiple-include.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
numeric-literal-trash.c add a bunch of missing prototypes to tests 2010-01-09 20:43:19 +00:00
pragma-mark.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
pragma-message.c Remove hard CRLF end-of-line markers from two files. These should be added 2010-10-06 06:50:05 +00:00
pragma-operators.cpp Make sure we're producing a newline in the preprocessed output before 2010-09-10 22:27:29 +00:00
preamble.c r116509 fixed the Win32 XFAIL. 2010-10-14 20:49:46 +00:00
rdr-6096838-2.c tests: Force triple to avoid limited precision warning on win32. 2010-10-18 23:37:08 +00:00
rdr-6096838.c tests: Force triple to avoid limited precision warning on win32. 2010-10-18 23:37:08 +00:00
token-concat-2.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
token-concat.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
unknown-char.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
utf-16.c push some source location information down through the compiler, 2010-04-20 20:35:58 +00:00
utf-16.c.txt enhance sourcemgr to detect various UTF BOM's and emit a fatal error 2010-04-20 18:14:03 +00:00
wchar.c Add support for UCNs for character literals 2010-10-09 00:27:47 +00:00