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 D117172
[OpenMP] Fix problems with the declare variant append_args clause mikerice on Jan 12 2022, 4:05 PM. Authored by
Details Use ASTContext::getTypeDeclType() to get type of omp_interop_t since Handle functions where the function type is under an AttributedType.
Diff Detail Event Timeline
Comment Actions LGTM modulo a formatting nit with the test.
|
Do we always expect omp_interop_t to be a typedef?