llvm-project/clang/test/Lexer
John McCall 8376037861 In Objective-C, ignore attempts to redefine the ARC/GC qualifier macros.
This works around existing system headers which unconditionally
redefine these macros.

This is reasonably safe to do because we used to warn about it anyway
(outside of system headers).  Continue to warn if the redefinition
would have changed the expansion.  Still permit redefinition if the
macro is explicitly #undef'ed first.

rdar://23788307

llvm-svn: 255311
2015-12-10 23:31:01 +00:00
..
Inputs Lex: reduce buffer size, add a test 2014-03-12 02:26:08 +00:00
11-27-2007-FloatLiterals.c
badstring_in_if0.c
bcpl-escaped-newline.c Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
block_cmt_end.c Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
builtin_redef.c
c90.c
char-escapes.c
char-literal-encoding-error.c
char-literal.cpp
comment-escape.c
conflict-marker.c Lex: Don't crash if both conflict markers are on the same line 2014-12-14 04:53:11 +00:00
constants.c Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
coroutines.cpp [coroutines] Add forgotten test for lexing coroutines keywords. 2015-10-22 05:21:12 +00:00
counter.c
cross-windows-on-linux-default.cpp Lexer: split test into separate files 2014-03-12 02:53:12 +00:00
cross-windows-on-linux.cpp Fixing some comments in this test. No functional changes. 2014-05-19 14:52:09 +00:00
cxx-features.cpp [coroutines] Add feature-test macro for coroutines, defined to 1 to indicate 2015-10-22 04:27:47 +00:00
cxx0x_keyword_as_cxx98.cpp [Tests] Add explicit -std=lang option to a number of tests. 2015-08-01 02:55:59 +00:00
cxx0x_raw_string_delim_length.cpp
cxx0x_raw_string_directives.cpp
cxx0x_raw_string_unterminated.cpp
cxx1y_binary_literal.cpp Implement C++1y digit separator proposal (' as a digit separator). This is not 2013-09-26 03:33:06 +00:00
cxx1y_digit_separators.cpp Add some missing checks for C++1y digit separators that don't in fact separate 2014-04-22 23:50:25 +00:00
cxx1z-trigraphs.cpp Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
digraph.c
dollar-idents.c
eof-char.c
eof-file.c
eof-include.c Fix buffer overflow in Lexer 2015-05-04 22:30:29 +00:00
eof-number.c [lex] Don't read past the end of the buffer 2015-03-29 14:11:37 +00:00
eof-string.c
escape_newline.c Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
gnu-flags.c Add specific warning flags for GNU ext in lexer. 2013-09-05 00:02:30 +00:00
has_attribute_objc_boxable.m Add missing files for objc_boxable feature. 2015-07-23 14:45:41 +00:00
has_extension.c Add support for has_feature(cxx_alignof) and has_feature(c_alignof). 2014-12-03 01:25:49 +00:00
has_extension_cxx.cpp Have '__have_extension(cxx_variadic_templates)' return true for any C++ standard. 2015-05-12 22:37:23 +00:00
has_feature_address_sanitizer.cpp [ASan] Initial support for Kernel AddressSanitizer 2015-06-19 12:19:07 +00:00
has_feature_boxed_nsvalue_expressions.m Add missing files for objc_boxable feature. 2015-07-23 14:45:41 +00:00
has_feature_c1x.c Add support for has_feature(cxx_alignof) and has_feature(c_alignof). 2014-12-03 01:25:49 +00:00
has_feature_cxx0x.cpp [Tests] Add explicit -std=lang option to a number of tests. 2015-08-01 02:55:59 +00:00
has_feature_exceptions.cpp Lex: Fix __has_feature(cxx_exceptions) for objective C++ 2014-04-16 02:56:48 +00:00
has_feature_memory_sanitizer.cpp
has_feature_modules.m
has_feature_objc_arc.m
has_feature_rtti.cpp Turn off __has_feature(cxx_rtti) when -fno-rtti-data is present 2015-08-13 17:56:49 +00:00
has_feature_thread_sanitizer.cpp
has_feature_type_traits.cpp Added a __has_feature() for 'is_constructible' 2014-03-18 14:13:10 +00:00
header.cpp Relax header guard mismatch warning with edit distance heuristic. 2013-10-12 23:17:37 +00:00
hexfloat.cpp When pretty-printing a C++11 literal operator, don't insert whitespace between 2015-10-08 00:17:59 +00:00
keywords_test.c Add -f[no-]declspec to control recognition of __declspec as a keyword 2015-10-04 17:51:05 +00:00
keywords_test.cpp Add -f[no-]declspec to control recognition of __declspec as a keyword 2015-10-04 17:51:05 +00:00
long-long.cpp
ms-compatibility.c MSVC: A wide string literal from L#macro_arg in a macro 2014-12-15 04:18:11 +00:00
ms-extensions.c [MS Extensions] Remove support for the i128 integer literal suffix 2015-07-26 09:02:26 +00:00
ms-extensions.cpp [Tests] Add explicit -std=lang option to a number of tests. 2015-08-01 02:55:59 +00:00
msdos-cpm-eof.c
multiple-include.c
newline-eof-c++98-compat.cpp Respect -Wnewline-eof even in C++11 mode. 2013-08-23 15:42:01 +00:00
newline-eof.c Revise -Wnewline-eof test per feedback from Dmitri. 2013-08-23 16:12:49 +00:00
numeric-literal-trash.c
objc_macros.m In Objective-C, ignore attempts to redefine the ARC/GC qualifier macros. 2015-12-10 23:31:01 +00:00
pragma-mark.c
pragma-message.c
pragma-message2.c
pragma-operators.cpp Add -fuse-line-directive flag to control usage of #line with -E 2015-02-26 00:17:25 +00:00
pragma-region.c
preamble.c
rdar-8914293.c
rdr-6096838-2.c
rdr-6096838.c
string-literal-encoding.c
string-literal-errors.cpp Don't destroy MacroInfos if we find the macro definition is invalid; it'll get 2014-08-03 23:41:04 +00:00
string_concat.cpp
token-concat.c
token-concat.cpp
unicode-strings.c
unicode.c Add test that we correctly allow some non-letter unicode characters in 2015-09-19 02:14:12 +00:00
unknown-char.c
utf-16.c
utf-16.c.txt
utf8-char-literal.cpp [c++1z] Support for u8 character literals. 2014-11-08 06:08:42 +00:00
utf8-invalid.c
warn-date-time.c Show -Wdate-time in system headers 2014-06-10 06:09:00 +00:00
warn_binary_literals.cpp Split off the binary literal warning into a subgroup of C++14 warnings 2015-09-18 23:18:39 +00:00
wchar-signedness.c [Thumb] Clang thinks "char" is signed when using a thumb triple 2014-10-24 11:28:47 +00:00
wchar.c