summaryrefslogtreecommitdiff
path: root/lib/Target/CppBackend
diff options
context:
space:
mode:
authorNicolas Geoffray <nicolas.geoffray@lip6.fr>2012-01-22 20:05:26 +0000
committerNicolas Geoffray <nicolas.geoffray@lip6.fr>2012-01-22 20:05:26 +0000
commit8194683d5a8a437d4f56166191f9603224012ba1 (patch)
tree935a0fd5e0724997a094ec2eba53a5c893acbbfc /lib/Target/CppBackend
parented2e13d66709d41a26b96e2a02b6f2797ff2e7b7 (diff)
downloadllvm-8194683d5a8a437d4f56166191f9603224012ba1.tar.gz
llvm-8194683d5a8a437d4f56166191f9603224012ba1.tar.bz2
llvm-8194683d5a8a437d4f56166191f9603224012ba1.tar.xz
Use Attributes::None instead of 0 after r148553 change on Attributes from unsigned to their own class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148665 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CppBackend')
-rw-r--r--lib/Target/CppBackend/CPPBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp
index 201db001a9..25e675b8f4 100644
--- a/lib/Target/CppBackend/CPPBackend.cpp
+++ b/lib/Target/CppBackend/CPPBackend.cpp
@@ -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; \