summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/conditional-expr-8.m
Commit message (Collapse)AuthorAgeFilesLines
* Improve the Objective-C common-type computation used by the ternary operator.Douglas Gregor2015-07-071-1/+32
| | | | | | | | | | | | | | | | The Objective-C common-type computation had a few problems that required a significant rework, including: - Quadradic behavior when finding the common base type; now it's linear. - Keeping around type arguments when computing the common type between a specialized and an unspecialized type - Introducing redundant protocol qualifiers. Part of rdar://problem/6294649. Also fixes rdar://problem/19572837 by addressing a longstanding bug in ASTContext::CollectInheritedProtocols(). llvm-svn: 241544
* Prior to adding the new "expected-no-diagnostics" directive to ↵Andy Gibbs2012-10-191-0/+1
| | | | | | VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. llvm-svn: 166280
* Fix a bug in calculation of composite typeFariborz Jahanian2011-04-181-0/+25
of conditional expressions of objc pointer types where one type is the immediate base type of the other. // rdar://9296866 llvm-svn: 129718
OpenPOWER on IntegriCloud