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:
f284aef
)
Update call to the new syntax.
author
Bill Wendling
<isanbard@gmail.com>
Fri, 23 Nov 2012 11:05:35 +0000
(11:05 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Fri, 23 Nov 2012 11:05:35 +0000
(11:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168512
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/CppBackend/CPPBackend.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/CppBackend/CPPBackend.cpp
b/lib/Target/CppBackend/CPPBackend.cpp
index 0f3efd8345026769090a549c26e36d18514fa4b2..5c909903f94bf443c41fbfbf2ffc883bf523ff6b 100644
(file)
--- a/
lib/Target/CppBackend/CPPBackend.cpp
+++ b/
lib/Target/CppBackend/CPPBackend.cpp
@@
-518,7
+518,7
@@
void CppWriter::printAttributes(const AttrListPtr &PAL,
Out << "Attrs.push_back(PAWI);";
nl(Out);
}
- Out << name << "_PAL = AttrListPtr::get(Attrs);";
+ Out << name << "_PAL = AttrListPtr::get(
mod->getContext(),
Attrs);";
nl(Out);
out(); nl(Out);
Out << '}'; nl(Out);