HomePhabricator

[Sema] Split special builtin type lookups into a separate function

Authored by tambre on Sep 20 2020, 1:14 AM.

Description

[Sema] Split special builtin type lookups into a separate function

In case further such cases appear in the future we've got a generic function to add them to.
Additionally changed the ObjC special case to check the language and the identifier builtin ID instead of the name.

Addresses the cleanup suggestion from D87917.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D87983

Details

Committed
tambreSep 21 2020, 9:12 AM
Reviewer
rjmccall
Differential Revision
D87983: [Sema] Split special builtin type lookups into a separate function
Parents
rG474d527c28f4: [clang] Fix a misleading variable name. NFC.
Branches
Unknown
Tags
Unknown