llvm-project/clang/lib
Chandler Carruth 53e61b05ce Accept no-return stripping conversions for pointer type arguments after
deducing template parameter types. Recently Clang began enforcing the
more strict checking that the argument type and the deduced function
parameter type (after substitution) match, but that only consideres
qualification conversions.

One problem with this patch is that we check noreturn conversions and
qualification conversions independently. If a valid conversion would
require *both*, perhaps interleaved with each other, it will be
rejected. If this actually occurs (I'm not yet sure it does) and is in
fact a problem (I'm not yet sure it is), there is a FIXME to implement
more intelligent conversion checking.

However, this step at least allows Clang to resume accepting valid code
we're seeing in the wild.

llvm-svn: 133327
2011-06-18 01:19:03 +00:00
..
ARCMigrate [arcmt] Fix the ARC migrator. -arcmt-modify requires running before the initialization of SourceManager 2011-06-18 00:53:41 +00:00
AST Fix regression with @encode string. rdar://9624314. 2011-06-17 23:19:38 +00:00
Analysis Finish 2 sentences. 2011-06-16 23:19:36 +00:00
Basic As a hopefully temporary workaround for a header mistake, treat 2011-06-17 21:23:37 +00:00
CodeGen When emitting a compound literal of POD type, continue to emit a 2011-06-17 16:37:20 +00:00
Driver [arcmt] Remove '-arcmt-modify-in-memory', it turned out less useful than we hoped it would be. 2011-06-17 23:49:31 +00:00
Frontend [arcmt] Fix the ARC migrator. -arcmt-modify requires running before the initialization of SourceManager 2011-06-18 00:53:41 +00:00
FrontendTool [arcmt] Remove '-arcmt-modify-in-memory', it turned out less useful than we hoped it would be. 2011-06-17 23:49:31 +00:00
Headers Add 'may_alias' attribute. Noticed by Eli. 2011-05-13 01:24:00 +00:00
Index Modify some deleted function methods to better reflect reality: 2011-05-06 20:44:56 +00:00
Lex Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
Parse Only accept __bridge_retain in system headers, as Doug suggested. 2011-06-17 21:56:12 +00:00
Rewrite Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
Sema Accept no-return stripping conversions for pointer type arguments after 2011-06-18 01:19:03 +00:00
Serialization Objective-C fast enumeration loop variables are not retained in ARC, but 2011-06-17 06:42:21 +00:00
StaticAnalyzer Initialize a couple of variables to shut GCC up. 2011-06-17 06:50:50 +00:00
CMakeLists.txt The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00
Makefile The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00