HomePhabricator

Use virtual functions in ParsedAttrInfo instead of function pointers

Authored by john.brawn on Feb 26 2020, 8:31 AM.

Description

Use virtual functions in ParsedAttrInfo instead of function pointers

This doesn't do anything on its own, but it's the first step towards
allowing plugins to define attributes. It does simplify the
ParsedAttrInfo generation in ClangAttrEmitter a little though.

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

Details