projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8104ad
)
Prefer copy init over direct init. NFC.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Mon, 8 Jun 2015 18:58:57 +0000
(18:58 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Mon, 8 Jun 2015 18:58:57 +0000
(18:58 +0000)
llvm-svn: 239327
llvm/lib/IR/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/IR/AsmWriter.cpp
b/llvm/lib/IR/AsmWriter.cpp
index b147f9d79d67e34900762ed660e586e7048725e6..0744fdf401573bdddabaa9673d8506e7a0024493 100644
(file)
--- a/
llvm/lib/IR/AsmWriter.cpp
+++ b/
llvm/lib/IR/AsmWriter.cpp
@@
-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');