HomePhabricator

[ClangExpressionParser] Add ClangDeclVendor

Description

[ClangExpressionParser] Add ClangDeclVendor

Summary:
This introduces a layer between DeclVendor and the currently implemented
DeclVendors (ClangModulesDeclVendor and AppleObjCDeclVendor). This
allows the removal of DeclVendor::GetImporterSource which is extremely
clang-specific, freeing up the interface to be more general.

A good follow up to this would be to remove the remaining instances of
clang in DeclVendor, either by moving things to ClangDeclVendor or by
using wrappers (e.g. CompilerDecl instead of clang::NamedDecl).

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

Details

Committed
xiaobaiAug 20 2019, 11:47 AM
Differential Revision
D66451: [ClangExpressionParser] Add ClangDeclVendor
Parents
rL369423: [WebAssembly][lld] Fix crash when applying relocations to debug sections
Branches
Unknown
Tags
Unknown