llvm-project/clang/test
Douglas Gregor e9d95f1ecc Handle Objective-C type arguments.
Objective-C type arguments can be provided in angle brackets following
an Objective-C interface type. Syntactically, this is the same
position as one would provide protocol qualifiers (e.g.,
id<NSCopying>), so parse both together and let Sema sort out the
ambiguous cases. This applies both when parsing types and when parsing
the superclass of an Objective-C class, which can now be a specialized
type (e.g., NSMutableArray<T> inherits from NSArray<T>).

Check Objective-C type arguments against the type parameters of the
corresponding class. Verify the length of the type argument list and
that each type argument satisfies the corresponding bound.

Specializations of parameterized Objective-C classes are represented
in the type system as distinct types. Both specialized types (e.g.,
NSArray<NSString *> *) and unspecialized types (NSArray *) are
represented, separately.

llvm-svn: 241542
2015-07-07 03:57:35 +00:00
..
ARCMT Commit some test changes somehow missed in r239789. 2015-06-16 00:19:29 +00:00
ASTMerge [Hexagon] Reapply 238773 after fix to LLVM. 2015-06-03 17:34:22 +00:00
Analysis [static analyzer] Analyzer is skipping forward declared C/C++ functions 2015-06-26 17:42:58 +00:00
CXX [Sema] Warn when shifting a negative value. 2015-07-06 18:02:09 +00:00
CodeCompletion [Preprocessor] Iterating over all macros should include those from modules. 2015-06-24 19:27:02 +00:00
CodeGen Debug info: Emit distinct __block_literal_generic types for blocks with 2015-07-07 00:49:35 +00:00
CodeGenCUDA [cuda] Fixed test case failure on s390x 2015-05-11 18:35:58 +00:00
CodeGenCXX Update testcase to reflect new behavior in DIBuilder. 2015-07-06 16:36:04 +00:00
CodeGenObjC Account for calling convention specifiers in function definitions in IR test cases 2015-06-29 17:29:50 +00:00
CodeGenObjCXX Account for calling convention specifiers in function definitions in IR test cases 2015-06-29 17:29:50 +00:00
CodeGenOpenCL Account for calling convention specifiers in function definitions in IR test cases 2015-06-29 17:29:50 +00:00
Coverage
CoverageMapping InstrProf: Pack the coverage mapping structs that we write out 2015-07-02 00:42:32 +00:00
Driver [Driver] Use llvm::Triple methods to handle -EL and -EB. 2015-07-06 23:59:45 +00:00
FixIt Replace __double_underscored type nullability qualifiers with _Uppercase_underscored 2015-06-24 22:02:08 +00:00
Format Disable style-on-command-line test on Windows 2015-06-09 17:47:59 +00:00
Frontend Commit some test changes somehow missed in r239789. 2015-06-16 00:19:29 +00:00
Headers Move xtest to its own file to match the gcc header organization. 2015-06-17 18:42:07 +00:00
Index Handle Objective-C type arguments. 2015-07-07 03:57:35 +00:00
Integration
Layout __declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension. 2015-05-26 19:44:52 +00:00
Lexer [ASan] Initial support for Kernel AddressSanitizer 2015-06-19 12:19:07 +00:00
Misc Reenable Misc/interpreter.c as r239388 correctly handles such targets 2015-06-09 06:33:13 +00:00
Modules Mark clang/test/Modules/signal.m as REQUIRES:crash-recovery. 2015-07-05 23:00:44 +00:00
OpenMP [OPENMP 4.0] Codegen for 'omp cancel' directive. 2015-07-06 05:50:32 +00:00
PCH Handle Objective-C type arguments. 2015-07-07 03:57:35 +00:00
Parser Handle Objective-C type arguments. 2015-07-07 03:57:35 +00:00
Preprocessor Avoid false positive/negative test results from line directive interference.NFC. 2015-06-26 17:49:10 +00:00
Profile Fix a couple of tests in clang/test to match "x86_thiscallcc" introduced in r240971. 2015-06-30 08:02:26 +00:00
Rewriter __declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension. 2015-05-26 19:44:52 +00:00
Sema [Sema] Warn when shifting a negative value. 2015-07-06 18:02:09 +00:00
SemaCUDA [cuda] Preserve TLS storage class of host variable even if it's a 2015-04-28 20:31:49 +00:00
SemaCXX PR24030, PR24033: Consistently check whether a new declaration conflicts with 2015-07-06 04:43:58 +00:00
SemaObjC Handle Objective-C type arguments. 2015-07-07 03:57:35 +00:00
SemaObjCXX Handle Objective-C type arguments. 2015-07-07 03:57:35 +00:00
SemaOpenCL Restores r228382, which was reverted in r228406. 2015-02-25 05:48:23 +00:00
SemaTemplate DR1909: Diagnose all invalid cases of a class member sharing its name with the class. 2015-07-06 01:45:27 +00:00
TableGen
Tooling
Unit
VFS Commit some test changes somehow missed in r239789. 2015-06-16 00:19:29 +00:00
.clang-format
CMakeLists.txt Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg test: Set lit features appropriately when using asan and ubsan together 2015-06-22 18:47:10 +00:00
lit.site.cfg.in Check for backtraces in tests which are verifying pretty stack traces from a crashing clang. 2015-02-10 19:53:38 +00:00
make_test_dirs.pl