[PATCH] D109608: [clang][ASTImporter] Generic attribute import handling (first step).

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 10 09:04:14 PDT 2021


balazske created this revision.
Herald added subscribers: whisperity, martong, teemperor, gamesh411, Szelethus, dkrupp.
Herald added a reviewer: a.sidorin.
Herald added a reviewer: shafik.
balazske requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Import of Attr objects was incomplete in ASTImporter.
This change introduces support for a generic way of importing an attribute.
For an usage example import of the attribute AssertCapability is
added to ASTImporter.
Updating the old attribute import code and adding new attributes or extending
the generic functions (if needed) is future work.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109608

Files:
  clang/lib/AST/ASTImporter.cpp
  clang/unittests/AST/ASTImporterTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109608.371938.patch
Type: text/x-patch
Size: 10156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210910/5fb0eea2/attachment-0001.bin>


More information about the cfe-commits mailing list