mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Remove an unneeded call to c_str().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81051 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fb0f0dedd7
commit
5026274ba8
@ -373,7 +373,7 @@ namespace llvm {
|
||||
}
|
||||
|
||||
static unsigned getTripleMatchQuality(const std::string &TT) {
|
||||
if (Triple(TT.c_str()).getArch() == TargetArchType)
|
||||
if (Triple(TT).getArch() == TargetArchType)
|
||||
return 20;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user