diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-09-20 16:27:05 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-09-20 16:27:05 +0000 |
commit | abac66150cd9b8a16865db399a930e823206b3b7 (patch) | |
tree | 66628d86787a240e890ed9c86a66278f97979d65 /llvm/lib/Target/CppBackend | |
parent | b4e211cd19201d2b344f40123411e2529806f6c0 (diff) | |
download | bcm5719-llvm-abac66150cd9b8a16865db399a930e823206b3b7.tar.gz bcm5719-llvm-abac66150cd9b8a16865db399a930e823206b3b7.zip |
Make the 'get*AlignmentFromAttr' functions into member functions within the Attributes class.
llvm-svn: 164308
Diffstat (limited to 'llvm/lib/Target/CppBackend')
-rw-r--r-- | llvm/lib/Target/CppBackend/CPPBackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/CppBackend/CPPBackend.cpp b/llvm/lib/Target/CppBackend/CPPBackend.cpp index 4ddcd38aca6..444da2bb21e 100644 --- a/llvm/lib/Target/CppBackend/CPPBackend.cpp +++ b/llvm/lib/Target/CppBackend/CPPBackend.cpp @@ -508,7 +508,7 @@ void CppWriter::printAttributes(const AttrListPtr &PAL, #undef HANDLE_ATTR if (attrs & Attribute::StackAlignment) Out << " | Attribute::constructStackAlignmentFromInt(" - << Attribute::getStackAlignmentFromAttrs(attrs) + << attrs.getStackAlignment() << ")"; attrs &= ~Attribute::StackAlignment; assert(attrs == 0 && "Unhandled attribute!"); |