diff options
author | John Brawn <john.brawn@arm.com> | 2020-02-07 14:21:13 +0000 |
---|---|---|
committer | John Brawn <john.brawn@arm.com> | 2020-02-27 17:23:16 +0000 |
commit | 75d4d4bd028f6a5f24ef41dbbc45bed65b2305cf (patch) | |
tree | bd96d9808a68dcf3d00af87cf36248806b98ed4a /clang/lib/Basic/Module.cpp | |
parent | ddd11273d9d0807e25a34181e5978e3307d78dc2 (diff) | |
download | llvm-75d4d4bd028f6a5f24ef41dbbc45bed65b2305cf.zip llvm-75d4d4bd028f6a5f24ef41dbbc45bed65b2305cf.tar.gz llvm-75d4d4bd028f6a5f24ef41dbbc45bed65b2305cf.tar.bz2 |
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
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions