projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa6bc2e
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239327
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/IR/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/IR/AsmWriter.cpp
b/lib/IR/AsmWriter.cpp
index b147f9d79d67e34900762ed660e586e7048725e6..0744fdf401573bdddabaa9673d8506e7a0024493 100644
(file)
--- a/
lib/IR/AsmWriter.cpp
+++ b/
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');