================
@@ -388,9 +387,7 @@ template <class T> class OMPDirectiveListClause : public
OMPClause {
assert(
DK.size() == NumKinds &&
"Number of directive kinds is not the same as the preallocated
buffer");
- std::copy(DK.begin(), DK.end(),
- static_cast<T *>(this)
- ->template getTrailingObjects<OpenMPDirectiveKind>());
+ std::copy(DK.begin(), DK.end(), getDirectiveKinds().begin());
----------------
Sirraide wrote:
I mean, you already did this for some of the other functions but either way is
fine.
https://github.com/llvm/llvm-project/pull/144432
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits