Commit 3b317658 authored by Pawel Wodnicki's avatar Pawel Wodnicki
Browse files

Merging r168512: into 3.2 release branch.

Update call to the new syntax.

llvm-svn: 168526
parent 15386f41
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);