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:
9519823
)
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)
llvm-svn: 168512
llvm/lib/Target/CppBackend/CPPBackend.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/CppBackend/CPPBackend.cpp
b/llvm/lib/Target/CppBackend/CPPBackend.cpp
index
0f3efd8
..
5c90990
100644
(file)
--- a/
llvm/lib/Target/CppBackend/CPPBackend.cpp
+++ b/
llvm/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);