summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PPMacroExpansion.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2015-07-07 03:58:01 +0000
committerDouglas Gregor <dgregor@apple.com>2015-07-07 03:58:01 +0000
commitc5e07f5c115ed486f57db957447086c1b0023385 (patch)
tree9709fc3db84e459cb5da1bbc17c224f50c369c5c /clang/lib/Lex/PPMacroExpansion.cpp
parente83b95641f911e44c8c092bc0eef7743df0cd73d (diff)
downloadbcm5719-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/lib/Lex/PPMacroExpansion.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud