[PATCH] Replace string GNU Triples with llvm::Triple in TargetMachine::getTargetTriple(). NFC.

Renato Golin renato.golin at linaro.org
Thu Jun 11 03:15:50 PDT 2015


================
Comment at: lib/CodeGen/LLVMTargetMachine.cpp:250
@@ -248,3 +249,3 @@
 
-  Triple T(getTargetTriple());
+  Triple T(getTargetTriple().str());
   const MCSubtargetInfo &STI = *getMCSubtargetInfo();
----------------
No copy constructor?

http://reviews.llvm.org/D10381

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list