================
@@ -371,7 +431,7 @@ HLSLToolChain::TranslateArgs(const DerivedArgList &Args, 
StringRef BoundArch,
     std::vector<std::string> SpvExtensionArgs =
         Args.getAllArgValues(options::OPT_fspv_extension_EQ);
     if (checkExtensionArgsAreValid(SpvExtensionArgs, getDriver())) {
-      std::string LlvmOption = getSpirvExtArg(SpvExtensionArgs);
+      llvm::SmallString<1024> LlvmOption = getSpirvExtArg(SpvExtensionArgs);
----------------
llvm-beanz wrote:

```suggestion
     SmallString<1024> LlvmOption = getSpirvExtArg(SpvExtensionArgs);
```

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

Reply via email to