================
@@ -265,11 +264,11 @@ resolveTargetAttrOverride(const std::vector<std::string> 
&FeaturesVec,
   if (I == FeaturesVec.end())
     return FeaturesVec;
 
-  const std::vector<std::string> FeaturesNeedOverride(FeaturesVec.begin(), I);
+  ArrayRef<std::string> FeaturesNeedOverride(&*FeaturesVec.begin(), &*I);
----------------
topperc wrote:

The `&*` are here to convert from the std::vector pointer wrappers to raw 
pointers.

https://github.com/llvm/llvm-project/pull/73851
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to