Skip to content

Commit 024e48b

Browse files
committed
Merging r168512: into 3.2 release branch.
Update call to the new syntax. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_32@168526 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent df46b90 commit 024e48b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Target/CppBackend/CPPBackend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ void CppWriter::printAttributes(const AttrListPtr &PAL,
518518
Out << "Attrs.push_back(PAWI);";
519519
nl(Out);
520520
}
521-
Out << name << "_PAL = AttrListPtr::get(Attrs);";
521+
Out << name << "_PAL = AttrListPtr::get(mod->getContext(), Attrs);";
522522
nl(Out);
523523
out(); nl(Out);
524524
Out << '}'; nl(Out);

0 commit comments

Comments
 (0)