hanchenye-llvm-project/clang/test/Lexer
Richard Smith a8a5c402bb Advertise support for cxx_range_for as an extension in C++98 mode. Patch by Jean-Daniel Dupas!
Also provide a modicum of test coverage for ranged for in C++98.

llvm-svn: 139149
2011-09-06 18:03:41 +00:00
..
11-27-2007-FloatLiterals.c Added testcase for commit r122963. 2011-01-06 16:56:00 +00:00
badstring_in_if0.c
bcpl-escaped-newline.c Speed up BCPL comment lexing by looking aggressively for newlines and then scannig backwards to see if the newline is escaped. 2011-09-05 07:19:39 +00:00
block_cmt_end.c Change magic string "abc" to better magic string "qux". 2011-05-10 20:28:29 +00:00
c90.c Add support for UCNs for character literals 2010-10-09 00:27:47 +00:00
char-escapes.c Fix diagnostic for reporting bad escape sequence. 2010-12-03 00:09:56 +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
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 Warn about and truncate UCNs that are too big for their character literal type. 2011-08-19 03:20:12 +00:00
counter.c
cxx0x_keyword.cpp
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
cxx0x_raw_string_delim_length.cpp Fix a couple raw string literal tests 2011-08-12 03:20:18 +00:00
cxx0x_raw_string_unterminated.cpp Fix a couple raw string literal tests 2011-08-12 03:20:18 +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
escape_newline.c
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_extension.c Introduce __has_extension macro 2011-05-13 20:54:45 +00:00
has_extension_cxx.cpp Advertise support for cxx_range_for as an extension in C++98 mode. Patch by Jean-Daniel Dupas! 2011-09-06 18:03:41 +00:00
has_feature_c1x.c Introduce __has_extension macro 2011-05-13 20:54:45 +00:00
has_feature_cxx0x.cpp Add test case for defaulted copy and move structure validation. 2011-09-04 18:14:28 +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_objc_arc.m Change the driver's logic about Objective-C runtimes: abstract out a 2011-07-06 00:26:06 +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
has_feature_type_traits.cpp Remember to add a has_feature macro for __underlying_type now that it is 2011-07-18 17:08:00 +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
multiple-include.c
newline-eof.c Expose no newline at end of file warning under Wnewline-eof flag. 2011-07-22 23:08:19 +00:00
numeric-literal-trash.c
pragma-mark.c
pragma-message.c Have #pragma message not turn into error by -Werror, by default. Fixes rdar://9308989. 2011-04-21 17:11:44 +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 Make Lexer::ComputePreamble accept a LangOptions parameter, otherwise it may be 2011-08-25 20:39:19 +00:00
rdar-8914293.c Warn for missing terminating " or ' instead of error for gcc compatibility. Fixed rdar://8914293. 2011-02-15 23:45:31 +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
string_concat.cpp Add tests for string literal concatenation. 2011-08-11 05:57:09 +00:00
token-concat-2.c
token-concat.c
unknown-char.c
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 C++0x unicode string and character literals, from Craig Topper! 2011-07-27 05:40:30 +00:00