[OpenMP] Fix problems with the declare variant append_args clause
Use ASTContext::getTypeDeclType() to get type of omp_interop_t since TypeDecl::getTypeForDecl() may return null if TypeForDecl is not setup yet. Handle functions where the function type is under an AttributedType. Differential Revision: https://reviews.llvm.org/D117172
Loading
Please sign in to comment