llvm-project/clang/test/Lexer
Seth Cantrell 6255c257e9 Add and update tests for character literals
llvm-svn: 148392
2012-01-18 12:27:10 +00:00
..
11-27-2007-FloatLiterals.c Added testcase for commit r122963. 2011-01-06 16:56:00 +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
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
char-literal-encoding-error.c Add and update tests for character literals 2012-01-18 12:27:10 +00:00
char-literal.cpp Add and update tests for character literals 2012-01-18 12:27:10 +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 Handle Perforce-style conflict markers like normal conflict markers. Perforce 2011-10-12 00:37:51 +00:00
constants.c Add and update tests for character literals 2012-01-18 12:27:10 +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 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 Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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
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 In Lexer::getCharAndSizeSlow[NoWarn] if we come up against 2011-12-22 04:38:07 +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_extension.c Add c_alignas and cxx_alignas features 2011-10-14 23:44:46 +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_address_sanitizer.cpp implement __has_feature(address_sanitizer); also use LangOpts.AddressSanitizer instead of CodeGenOpts.AddressSanitizer 2011-11-22 01:28:36 +00:00
has_feature_c1x.c Some improvements to the handling of C11 atomic types: 2012-01-16 17:27:18 +00:00
has_feature_cxx0x.cpp Some improvements to the handling of C11 atomic types: 2012-01-16 17:27:18 +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_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 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 Implement support for the __is_final type trait, to determine whether 2011-12-03 18:14:24 +00:00
hexfloat.cpp We do parse hexfloats in C++11; make it actually work. 2011-10-12 18:51:02 +00:00
ms-extensions.c Make -fms-compatibility imply -fms-extensions. Fixes PR11204. 2011-10-24 15:27:23 +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
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 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 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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
rdr-6096838.c tests: Force triple to avoid limited precision warning on win32. 2010-10-18 23:37:08 +00:00
string-literal-encoding.c Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
string_concat.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +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
utf8-char-literal.cpp Add and update tests for character literals 2012-01-18 12:27:10 +00:00
wchar.c Add and update tests for character literals 2012-01-18 12:27:10 +00:00