summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commite197d943f3ebbd3832f54b0db87fbd4f6c1c41f4 (patch)
treefbb0a77eb54681587245cd80a070693960f59e7b /llvm/lib
parent094626414d048680eef383c3ae40a01441d58749 (diff)
downloadbcm5719-llvm-e197d943f3ebbd3832f54b0db87fbd4f6c1c41f4.tar.gz
bcm5719-llvm-e197d943f3ebbd3832f54b0db87fbd4f6c1c41f4.zip
Use Attributes::None instead of 0 after r148553 change on Attributes from unsigned to their own class.
llvm-svn: 148665
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/CppBackend/CPPBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/CppBackend/CPPBackend.cpp b/llvm/lib/Target/CppBackend/CPPBackend.cpp
index 201db001a94..25e675b8f41 100644
--- a/llvm/lib/Target/CppBackend/CPPBackend.cpp
+++ b/llvm/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; \
OpenPOWER on IntegriCloud