[PATCH] D66102: [Symbol] Decouple clang from CompilerType
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 16:23:40 PDT 2019
aprantl added a comment.
Let's pick some random examples:
`CompilerType(ClangASTContext::GetASTContext(m_ast_source.m_ast_context), generic_function_type.getAsOpaquePtr())`
->
`ClangASTContext::GetASTContext(m_ast_source.m_ast_context).GetCompilerType(generic_function_type)`
or
`CompilerType(this, llvm::cast<clang::AutoType>(qual_type)->getDeducedType().getAsOpaquePtr())`
->
`GetCompilerType(llvm::cast<clang::AutoType>(qual_type)->getDeducedType())`
Perhaps it really doesn't matter too much.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66102/new/
https://reviews.llvm.org/D66102
More information about the llvm-commits
mailing list