@@ -918,11 +918,12 @@ class MultipleValueInstructionTrailingObjects<Derived, DerivedResult,
918
918
if (!NumResults)
919
919
return ;
920
920
921
- auto **ParentPtr =
922
- this -> template getTrailingObjects <MultipleValueInstruction *>();
921
+ auto **ParentPtr = this -> TrailingObjects :: template
922
+ getTrailingObjects<MultipleValueInstruction *>();
923
923
*ParentPtr = static_cast <MultipleValueInstruction *>(Parent);
924
924
925
- auto *DataPtr = this ->template getTrailingObjects <DerivedResult>();
925
+ auto *DataPtr = this ->TrailingObjects ::template
926
+ getTrailingObjects<DerivedResult>();
926
927
for (unsigned i : range (NumResults)) {
927
928
::new (&DataPtr[i]) DerivedResult (i, Types[i], OwnershipKinds[i],
928
929
std::forward<Args>(OtherArgs)...);
@@ -935,7 +936,8 @@ class MultipleValueInstructionTrailingObjects<Derived, DerivedResult,
935
936
~MultipleValueInstructionTrailingObjects () {
936
937
if (!NumResults)
937
938
return ;
938
- auto *DataPtr = this ->template getTrailingObjects <DerivedResult>();
939
+ auto *DataPtr = this ->TrailingObjects ::template
940
+ getTrailingObjects<DerivedResult>();
939
941
// We call the DerivedResult destructors to ensure that:
940
942
//
941
943
// 1. If our derived results have any stored data that need to be cleaned
@@ -949,7 +951,8 @@ class MultipleValueInstructionTrailingObjects<Derived, DerivedResult,
949
951
950
952
public:
951
953
ArrayRef<DerivedResult> getAllResultsBuffer () const {
952
- auto *ptr = this ->template getTrailingObjects <DerivedResult>();
954
+ auto *ptr = this ->TrailingObjects ::template
955
+ getTrailingObjects<DerivedResult>();
953
956
return { ptr, NumResults };
954
957
}
955
958
0 commit comments