[clang] [flang] [llvm] [mlir] [TargetRegistry] Accept Triple in createTargetMachine() (NFC) (PR #130940)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 12 04:41:14 PDT 2025


================
@@ -453,14 +453,14 @@ class Target {
   /// either the target triple from the module, or the target triple of the
   /// host if that does not exist.
   TargetMachine *createTargetMachine(
-      StringRef TT, StringRef CPU, StringRef Features,
----------------
nikic wrote:

Restored StringRef overload with deprecation.

https://github.com/llvm/llvm-project/pull/130940


More information about the cfe-commits mailing list