Found by inspection. (No other instances of this problem were found.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234221
91177308-0d34-0410-b5e6-
96231b3b80d8
}
std::sort(NewTypeSpecs.begin(), NewTypeSpecs.end());
- std::unique(NewTypeSpecs.begin(), NewTypeSpecs.end());
+ NewTypeSpecs.erase(std::unique(NewTypeSpecs.begin(), NewTypeSpecs.end()),
+ NewTypeSpecs.end());
for (auto &I : NewTypeSpecs) {
Intrinsic *IT = new Intrinsic(R, Name, Proto, I.first, I.second, CK, Body,