hanchenye-llvm-project/clang/test
Saleem Abdulrasool 94bb1a06fb CodeGen: correct arguments for NSFastEnumeration
When performing a NSFastEnumeration, the compiler synthesizes a call to
`countByEnumeratingWithState:objects:count:` where the `count` parameter
is of type `NSUInteger` and the return type is a `NSUInteger`.  We would
previously always use a `UnsignedLongTy` for the `NSUInteger` type.  On
32-bit targets, `long` is 32-bits which is the same as `unsigned int`.
Most 64-bit targets are LP64, where `long` is 64-bits.  However, on
LLP64 targets, such as Windows, `long` is 32-bits.  Introduce new
`getNSUIntegerType` and `getNSIntegerType` helpers to allow us to
determine the correct type for the `NSUInteger` type.  Wire those
through into the generation of the message dispatch to the selector.

llvm-svn: 312835
2017-09-08 23:41:17 +00:00
..
ARCMT
ASTMerge
Analysis [analyzer] Increase minimum complexity filter of the CloneChecker. 2017-09-04 05:56:36 +00:00
CXX Add target triple to improve the happiness of MSVC buildbots. 2017-09-07 22:07:52 +00:00
CodeCompletion Fixed a crash in code completion. 2017-09-08 13:36:38 +00:00
CodeGen Fixing incorrectly capitalised regexps. 2017-09-07 09:54:03 +00:00
CodeGenCUDA
CodeGenCXX Reinstall the patch "Use EmitPointerWithAlignment to get alignment information of the pointer used in atomic expr". 2017-09-08 21:58:18 +00:00
CodeGenCoroutines [coroutines] Support coroutine-handle returning await-suspend (i.e symmetric control transfer) 2017-08-25 04:46:54 +00:00
CodeGenObjC CodeGen: correct arguments for NSFastEnumeration 2017-09-08 23:41:17 +00:00
CodeGenObjCXX Fix off-by-one error in block mangling. 2017-09-07 05:41:24 +00:00
CodeGenOpenCL [OpenCL] Add half load and store builtins 2017-09-07 19:39:10 +00:00
Coverage [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
CoverageMapping [Coverage] Precise region termination with deferred regions (reapply) 2017-09-08 18:44:56 +00:00
Driver [CUDA] Added rudimentary support for CUDA-9 and sm_70. 2017-09-07 18:14:32 +00:00
FixIt [c++2a] Implement P0409R2 - Allow lambda capture [=,this] (by hamzasood) 2017-08-19 03:43:07 +00:00
Format [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
Frontend Add _Float16 as a C/C++ source language type 2017-09-08 16:43:10 +00:00
Headers Add test that we get the correct calling convention and mangling for va_list. 2017-08-16 01:46:46 +00:00
Import This adds the argument --dump-ir to clang-import-test, which allows 2017-08-07 22:27:30 +00:00
Index Don't show deleted function (constructor) candidates for code completion 2017-09-08 10:23:08 +00:00
Integration Fix the test fix from r312181 2017-08-30 23:26:38 +00:00
Layout
Lexer Recommit "Add _Float16 as a C/C++ source language type" 2017-09-08 15:15:00 +00:00
Misc [diagtool] Change default tree behavior to print only flags 2017-09-05 18:04:40 +00:00
Modules [modules] Add test for using declaration in classes. 2017-08-29 09:27:41 +00:00
OpenMP [OPENMP] Fix for PR33922: New ident_t flags for 2017-09-06 16:17:35 +00:00
PCH [c++2a] P0683R1: Permit default member initializers for bit-fields. 2017-08-28 00:28:14 +00:00
Parser [c++2a] P0683R1: Permit default member initializers for bit-fields. 2017-08-28 00:28:14 +00:00
Preprocessor [mips] Introducing option -mabs=[legacy/2008] 2017-08-24 16:06:30 +00:00
Profile
Rewriter [clang] Remove unit test which uses reverse-iterate flag 2017-08-24 22:40:32 +00:00
Sema [Sema] Put tautological comparison of unsigned and zero into it's own flag 2017-09-08 13:56:45 +00:00
SemaCUDA [CUDA] When compilation fails, print the compilation mode. 2017-09-07 18:37:16 +00:00
SemaCXX [Sema] -Wtautological-compare: handle comparison of unsigned with 0S. 2017-09-07 22:14:25 +00:00
SemaObjC [ObjC] Add a -Wobjc-messaging-id warning 2017-08-25 16:12:17 +00:00
SemaObjCXX
SemaOpenCL [OpenCL] Handle taking an address of block captures. 2017-09-07 17:00:33 +00:00
SemaTemplate PR10147: When substituting a template template argument, substitute in the most 2017-08-29 22:14:43 +00:00
TableGen
Tooling [clang-diff] Treat CXXCtorInitializer as a node 2017-08-27 22:52:20 +00:00
Unit
VFS
clang-rename
.clang-format
CMakeLists.txt
TestRunner.sh
cxx-sections.data
lit.cfg Add clang-diff to tool_patterns in test/lit.cfg 2017-08-19 17:52:29 +00:00
lit.site.cfg.in Revert "Revert "[clang-diff] Move the JSON export function to clang-diff"" 2017-08-19 00:57:38 +00:00
make_test_dirs.pl