summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/odr_hash.mm
Commit message (Collapse)AuthorAgeFilesLines
* [ODRHash] Fix null pointer dereference for ObjC selectors with empty slots.Volodymyr Sapsai2019-06-281-0/+31
| | | | | | | | | | | | | | | | | `Selector::getIdentifierInfoForSlot` returns NULL if a slot has no corresponding identifier. Add a boolean to the hash and a NULL check. rdar://problem/51615164 Reviewers: rtrieu Reviewed By: rtrieu Subscribers: dexonsmith, cfe-commits, jkorous Differential Revision: https://reviews.llvm.org/D63789 llvm-svn: 364664
* [ODRHash] Extend hash to support all Type's.Richard Trieu2018-09-041-0/+225
| | | | llvm-svn: 341421
* Ensure canonical type is actually canonical.Richard Trieu2018-08-301-0/+74
ASTContext::applyObjCProtocolQualifiers will return a canonical type when given a canonical type and an array of canonical protocols. If the protocols are not canonical then the returned type is also not canonical. Since a canonical type is needed, canonicalize the returned type before using it. This later prevents a type from having a non-canonical canonical type. llvm-svn: 341013
OpenPOWER on IntegriCloud