Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ODRHash] Fix null pointer dereference for ObjC selectors with empty slots. | Volodymyr Sapsai | 2019-06-28 | 1 | -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 Trieu | 2018-09-04 | 1 | -0/+225 |
| | | | | llvm-svn: 341421 | ||||
* | Ensure canonical type is actually canonical. | Richard Trieu | 2018-08-30 | 1 | -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 |