================
@@ -1073,6 +1073,36 @@ static llvm::StringRef 
canonicalizePlatformName(llvm::StringRef Platform) {
              .Case("ShaderModel", "shadermodel")
              .Default(Platform);
 }
+static std::vector<llvm::StringRef> equivalentPlatformNames(llvm::StringRef 
Platform) {
----------------
cachemeifyoucan wrote:

Just return `ArrayRef` to avoid the copy?

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

Reply via email to