HomePhabricator

[clang][ASTImporter] Simplify code of attribute import [NFC].

Authored by balazske on Oct 7 2021, 12:48 AM.

Description

[clang][ASTImporter] Simplify code of attribute import [NFC].

The code of ASTImporter::Import(const Attr *) was repetitive,
it is now simplified. (There is still room for improvement but
probably only after big changes.)

Reviewed By: martong, steakhal

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

Details