Use Attributes::None instead of 0 after r148553 change on Attributes from unsigned...
authorNicolas Geoffray <nicolas.geoffray@lip6.fr>
Sun, 22 Jan 2012 20:05:26 +0000 (20:05 +0000)
committerNicolas Geoffray <nicolas.geoffray@lip6.fr>
Sun, 22 Jan 2012 20:05:26 +0000 (20:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148665 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/CppBackend/CPPBackend.cpp

index 201db001a94aa1c8803583db326e8991fd37bd8a..25e675b8f41bf2bb148b47d9db14f2d4de6348fe 100644 (file)
@@ -441,7 +441,7 @@ void CppWriter::printAttributes(const AttrListPtr &PAL,
     for (unsigned i = 0; i < PAL.getNumSlots(); ++i) {
       unsigned index = PAL.getSlot(i).Index;
       Attributes attrs = PAL.getSlot(i).Attrs;
-      Out << "PAWI.Index = " << index << "U; PAWI.Attrs = 0 ";
+      Out << "PAWI.Index = " << index << "U; PAWI.Attrs = Attribute::None ";
 #define HANDLE_ATTR(X)                 \
       if (attrs & Attribute::X)      \
         Out << " | Attribute::" #X;  \