llvm.org GIT mirror llvm / 32bb4df
Add missing attributes to cpp backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108547 91177308-0d34-0410-b5e6-96231b3b80d8 Eli Friedman 10 years ago
1 changed file(s) with 9 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
470470 HANDLE_ATTR(Nest);
471471 HANDLE_ATTR(ReadNone);
472472 HANDLE_ATTR(ReadOnly);
473 HANDLE_ATTR(InlineHint);
474473 HANDLE_ATTR(NoInline);
475474 HANDLE_ATTR(AlwaysInline);
476475 HANDLE_ATTR(OptimizeForSize);
477476 HANDLE_ATTR(StackProtect);
478477 HANDLE_ATTR(StackProtectReq);
479478 HANDLE_ATTR(NoCapture);
479 HANDLE_ATTR(NoRedZone);
480 HANDLE_ATTR(NoImplicitFloat);
481 HANDLE_ATTR(Naked);
482 HANDLE_ATTR(InlineHint);
480483 #undef HANDLE_ATTR
484 if (attrs & Attribute::StackAlignment)
485 Out << " | Attribute::constructStackAlignmentFromInt("
486 << Attribute::getStackAlignmentFromAttrs(attrs)
487 << ")";
488 attrs &= ~Attribute::StackAlignment;
481489 assert(attrs == 0 && "Unhandled attribute!");
482490 Out << ";";
483491 nl(Out);