mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 16:37:42 +00:00
Prefer copy init over direct init. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239327 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fa6bc2e94d
commit
9ebaf8ce67
@ -2143,7 +2143,7 @@ void AssemblyWriter::printModule(const Module *M) {
|
||||
Out << '\n';
|
||||
|
||||
// Split the string into lines, to make it easier to read the .ll file.
|
||||
StringRef Asm(M->getModuleInlineAsm());
|
||||
StringRef Asm = M->getModuleInlineAsm();
|
||||
do {
|
||||
StringRef Front;
|
||||
std::tie(Front, Asm) = Asm.split('\n');
|
||||
|
Loading…
x
Reference in New Issue
Block a user