llvm.org GIT mirror llvm / 5026274
Remove an unneeded call to c_str(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81051 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 11 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
372372 }
373373
374374 static unsigned getTripleMatchQuality(const std::string &TT) {
375 if (Triple(TT.c_str()).getArch() == TargetArchType)
375 if (Triple(TT).getArch() == TargetArchType)
376376 return 20;
377377 return 0;
378378 }