summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CppBackend/CPPBackend.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-15 20:35:56 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-15 20:35:56 +0000
commit50d27849f6e2e1f5a19364b9efbc39ef743d8040 (patch)
tree0a526850436e052c1bed5c9184b0fba8436a7265 /llvm/lib/Target/CppBackend/CPPBackend.cpp
parent6e5f49d7b7cc08b2dd8c0d81f6d1da77198fae89 (diff)
downloadbcm5719-llvm-50d27849f6e2e1f5a19364b9efbc39ef743d8040.tar.gz
bcm5719-llvm-50d27849f6e2e1f5a19364b9efbc39ef743d8040.zip
Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change.
llvm-svn: 165960
Diffstat (limited to 'llvm/lib/Target/CppBackend/CPPBackend.cpp')
-rw-r--r--llvm/lib/Target/CppBackend/CPPBackend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/CppBackend/CPPBackend.cpp b/llvm/lib/Target/CppBackend/CPPBackend.cpp
index 5b17a0f927b..969afe56e96 100644
--- a/llvm/lib/Target/CppBackend/CPPBackend.cpp
+++ b/llvm/lib/Target/CppBackend/CPPBackend.cpp
@@ -474,9 +474,9 @@ void CppWriter::printAttributes(const AttrListPtr &PAL,
Out << "AttributeWithIndex PAWI;"; nl(Out);
for (unsigned i = 0; i < PAL.getNumSlots(); ++i) {
unsigned index = PAL.getSlot(i).Index;
- Attributes::Builder attrs(PAL.getSlot(i).Attrs);
+ AttrBuilder attrs(PAL.getSlot(i).Attrs);
Out << "PAWI.Index = " << index << "U;\n";
- Out << " Attributes::Builder B;\n";
+ Out << " AttrBuilder B;\n";
#define HANDLE_ATTR(X) \
if (attrs.hasAttribute(Attributes::X)) \
OpenPOWER on IntegriCloud