HomePhabricator

Add an attribute registry so plugins can add attributes

Authored by john.brawn on Feb 7 2020, 6:21 AM.

Description

Add an attribute registry so plugins can add attributes

When constructing a ParsedAttr the ParsedAttrInfo gets looked up in the
AttrInfoMap, which is auto-generated using tablegen. If that lookup fails then
we look through the ParsedAttrInfos that plugins have added to the registry and
check if any has a spelling that matches.

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

Details

Committed
john.brawnFeb 27 2020, 9:23 AM
Differential Revision
D31338: Move ParsedAttrInfos into a registry and point to one in ParsedAttr
Parents
rGddd11273d9d0: Remove BinaryOperator::CreateFNeg
Branches
Unknown
Tags
Unknown