diff options
author | Mike Rice <michael.p.rice@intel.com> | 2022-01-12 15:34:37 -0800 |
---|---|---|
committer | Mike Rice <michael.p.rice@intel.com> | 2022-01-14 11:09:27 -0800 |
commit | 3d5b9fb3e3cd60d3bb755e43c1abdea42d2e7580 (patch) | |
tree | 6b4014f8a508c32b5d8b63fe7f14b7a9d5ef8538 /clang/unittests/Format/FormatTestJava.cpp | |
parent | e43b2e4f480b507a1d3eb9a5f3b294c0599eed73 (diff) | |
download | llvm-3d5b9fb3e3cd60d3bb755e43c1abdea42d2e7580.zip llvm-3d5b9fb3e3cd60d3bb755e43c1abdea42d2e7580.tar.gz llvm-3d5b9fb3e3cd60d3bb755e43c1abdea42d2e7580.tar.bz2 |
[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
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions