================
@@ -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) {
----------------
ian-twilightcoder wrote:

I tried `ArrayRef` first and it crashes. The array seems to get freed after the 
`llvm::find_if` returns for reasons that I don't understand.

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