Prefer copy init over direct init. NFC.

llvm-svn: 239327
This commit is contained in:
Benjamin Kramer 2015-06-08 18:58:57 +00:00
parent e8104ad0e8
commit f1cfc4244c
1 changed files with 1 additions and 1 deletions

View File

@ -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');