[ASTImporter] Improved import of AlignedAttr.
authorBalázs Kéri <1.int32@gmail.com>
Fri, 28 Feb 2020 07:32:32 +0000 (08:32 +0100)
committerBalázs Kéri <1.int32@gmail.com>
Fri, 28 Feb 2020 08:40:59 +0000 (09:40 +0100)
commitb17f29201089131bf97de21606097e963ca8614d
tree21f1267aea6dd538faee708c454fb2343289ef76
parent48fad110e08a5765632d45e6a3c30186b21cc81a
[ASTImporter] Improved import of AlignedAttr.

Summary:
It is not enough to clone the attributes at import.
They can contain reference to objects that should be imported.
This work is done now for AlignedAttr.

Reviewers: martong, a.sidorin, shafik

Reviewed By: shafik

Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, teemperor, martong, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D75048
clang/lib/AST/ASTImporter.cpp
clang/unittests/AST/ASTImporterTest.cpp