llvm-project/clang/test/Lexer
Aaron Ballman d428ff46fe Reverting r181004 since it has broken test/Sema/wchar.c.
llvm-svn: 181122
2013-05-04 16:56:22 +00:00
..
11-27-2007-FloatLiterals.c
badstring_in_if0.c Migrate tests to -verify 2013-01-26 17:11:39 +00:00
bcpl-escaped-newline.c Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
block_cmt_end.c Change magic string "abc" to better magic string "qux". 2011-05-10 20:28:29 +00:00
builtin_redef.c After issuing a diagnostic for undefining or redefining a builtin macro, 2013-03-06 00:46:00 +00:00
c90.c PR15067 (again): Don't warn about UCNs in C90 if we're raw-lexing. 2013-01-28 17:49:02 +00:00
char-escapes.c
char-literal-encoding-error.c Implement warning for non-wide string literals with an unexpected encoding. Downgrade error for non-wide character literals with an unexpected encoding to a warning for compatibility with gcc and older versions of clang. <rdar://problem/10837678>. 2012-02-11 05:08:10 +00:00
char-literal.cpp When lexing in C11 mode, accept unicode character and string literals, per C11 2013-03-09 23:56:02 +00:00
clang-keywords.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
comment-escape.c
conflict-marker.c Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
constants.c Add and update tests for character literals 2012-01-18 12:27:10 +00:00
counter.c FileCheck'ize test 2013-01-24 23:44:04 +00:00
cxx0x_keyword.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx0x_keyword_as_cxx98.cpp Make the -Wc++11-compat warnings ignored by default, so we don't break 2011-10-25 03:07:45 +00:00
cxx0x_raw_string_delim_length.cpp When checking the encoding of an 8-bit string literal, don't just check the 2012-03-08 21:59:28 +00:00
cxx0x_raw_string_directives.cpp Add raw string literal versus C preprocessor test, suggested by James Dennett. 2013-01-16 21:43:09 +00:00
cxx0x_raw_string_unterminated.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx1y_binary_literal.cpp Note that we support (and in fact have supported since the dawn of time itself) 2013-04-19 20:47:20 +00:00
digraph.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
dollar-idents.c FileCheckize test 2012-11-11 01:35:05 +00:00
eof-char.c Fix crash on end-of-file after \ in a char literal, fixes PR14369. 2012-11-17 20:25:54 +00:00
eof-file.c Fix crash on end-of-file after \ in a char literal, fixes PR14369. 2012-11-17 20:25:54 +00:00
eof-string.c Fix crash on end-of-file after \ in a char literal, fixes PR14369. 2012-11-17 20:25:54 +00:00
escape_newline.c In Lexer::getCharAndSizeSlow[NoWarn] if we come up against 2011-12-22 04:38:07 +00:00
gnu_keywords.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
has_extension.c Accept __has_feature(__feature__) as a synonym for __has_feature(feature) (and 2012-02-25 10:41:10 +00:00
has_extension_cxx.cpp Add feature check "cxx_local_type_template_args" describing support 2012-04-04 00:48:39 +00:00
has_feature_address_sanitizer.cpp Use the individual -fsanitize=<...> arguments to control which of the UBSan 2012-11-05 22:21:05 +00:00
has_feature_c1x.c Use a triple ensure that __has_feature(c_thread_local) is 1 in C11 mode. 2013-05-02 16:22:34 +00:00
has_feature_cxx0x.cpp Only evaluate __has_feature(c_thread_local) and __has_feature(cxx_thread_local) true when the target supports thread-local storage. 2013-05-02 05:28:32 +00:00
has_feature_exceptions.cpp
has_feature_memory_sanitizer.cpp Add __has_feature(memory_sanitizer). 2012-12-20 12:03:13 +00:00
has_feature_modules.m Add __has_feature(modules) to indicate when modules are available (in 2012-01-04 21:16:09 +00:00
has_feature_objc_arc.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
has_feature_rtti.cpp
has_feature_thread_sanitizer.cpp tsan: add __has_feature(thread_sanitizer) 2012-12-17 08:52:05 +00:00
has_feature_type_traits.cpp Implement support for the __is_final type trait, to determine whether 2011-12-03 18:14:24 +00:00
hexfloat.cpp PR12717: Clang supports hexadecimal floating-point literals in all language 2012-06-15 05:07:49 +00:00
long-long.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
ms-extensions.c Make -fms-compatibility imply -fms-extensions. Fixes PR11204. 2011-10-24 15:27:23 +00:00
ms-extensions.cpp ext_reserved_user_defined_literal must not default to Error in MicrosoftMode. Hence create ext_ms_reserved_user_defined_literal that doesn't default to Error; otherwise MSVC headers won't parse. 2012-04-07 23:09:23 +00:00
msdos-cpm-eof.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
multiple-include.c
newline-eof-c++11.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
newline-eof-c++98-compat.cpp %clang -cc1 -> %clang_cc1 2012-04-15 04:41:49 +00:00
newline-eof.c Fix the location of the fixit for -Wnewline-eof. 2012-06-19 03:09:38 +00:00
numeric-literal-trash.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
pragma-mark.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
pragma-message.c Implemented #pragma GCC warning/error in the same mould as #pragma message. 2013-04-17 16:16:16 +00:00
pragma-message2.c Keep the parentheses in #pragma message (partial revert of r179771). 2013-04-19 17:13:17 +00:00
pragma-operators.cpp Keep the parentheses in #pragma message (partial revert of r179771). 2013-04-19 17:13:17 +00:00
pragma-region.c Support for #pragma region/endregion for MSVC compatibility. Patch thanks to pravic! 2012-11-30 19:52:30 +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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
rdr-6096838.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
string-literal-encoding.c When checking the encoding of an 8-bit string literal, don't just check the 2012-03-08 21:59:28 +00:00
string-literal-errors.cpp When a bad UTF-8 encoding or bogus escape sequence is encountered in a 2012-09-08 07:16:20 +00:00
string_concat.cpp When lexing in C11 mode, accept unicode character and string literals, per C11 2013-03-09 23:56:02 +00:00
token-concat.c FileCheck'ize and merge tests 2013-01-28 20:40:50 +00:00
token-concat.cpp User-defined literals: reject string and character UDLs in all places where the 2012-03-06 03:21:47 +00:00
unicode-strings.c Add -Wc99-compat warning for C11 unicode string and character literals. 2013-03-11 18:01:42 +00:00
unicode.c Lexer: Don't warn about Unicode in preprocessor directives. 2013-01-31 19:48:48 +00:00
unknown-char.c Migrate tests to -verify 2013-01-26 17:11:39 +00:00
utf-16.c Fix tests that weren't actually verifying anything. 2012-04-15 22:09:44 +00:00
utf-16.c.txt
utf8-char-literal.cpp When lexing in C11 mode, accept unicode character and string literals, per C11 2013-03-09 23:56:02 +00:00
utf8-invalid.c Lexer: Don't warn about Unicode in preprocessor directives. 2013-01-31 19:48:48 +00:00
wchar-signedness.c Add a predefine __WINT_UNSIGNED__, similar to __WCHAR_UNSIGNED__, and test them both for ARM and X86. 2012-05-04 11:23:40 +00:00
wchar.c Add and update tests for character literals 2012-01-18 12:27:10 +00:00