diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-06-18 21:44:06 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-06-18 21:44:06 +0000 |
commit | 521f12d3dfdbb0e93d1bcb503d074e67acdc489c (patch) | |
tree | dbf9c597eb8e4d5ead31fd162f5296ed356e0bb0 /lib/AST/AttrImpl.cpp | |
parent | 8e19890c329279c5ac35ab71a35423d429d80165 (diff) |
Implements Sema part of init_priority(priority) attribute
(radar 8076356) - wip.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106322 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/AttrImpl.cpp')
-rw-r--r-- | lib/AST/AttrImpl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/AST/AttrImpl.cpp b/lib/AST/AttrImpl.cpp index 1927a222e8..6db43c9565 100644 --- a/lib/AST/AttrImpl.cpp +++ b/lib/AST/AttrImpl.cpp @@ -200,6 +200,10 @@ Attr *ReqdWorkGroupSizeAttr::clone(ASTContext &C) const { return ::new (C) ReqdWorkGroupSizeAttr(X, Y, Z); } +Attr *InitPriorityAttr::clone(ASTContext &C) const { + return ::new (C) InitPriorityAttr(Priority); +} + Attr *MSP430InterruptAttr::clone(ASTContext &C) const { return ::new (C) MSP430InterruptAttr(Number); } |