diff options
| author | Douglas Gregor <dgregor@apple.com> | 2015-07-07 03:58:01 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2015-07-07 03:58:01 +0000 |
| commit | c5e07f5c115ed486f57db957447086c1b0023385 (patch) | |
| tree | 9709fc3db84e459cb5da1bbc17c224f50c369c5c /clang/tools/libclang/CIndexDiagnostic.cpp | |
| parent | e83b95641f911e44c8c092bc0eef7743df0cd73d (diff) | |
| download | bcm5719-llvm-c5e07f5c115ed486f57db957447086c1b0023385.tar.gz bcm5719-llvm-c5e07f5c115ed486f57db957447086c1b0023385.zip | |
Improve the Objective-C common-type computation used by the ternary operator.
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
Diffstat (limited to 'clang/tools/libclang/CIndexDiagnostic.cpp')
0 files changed, 0 insertions, 0 deletions

