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 | ef5f6212150d1f148f9b15ec0d2ba6cd08701752 (patch) | |
tree | 24ab711571596c3e2511073cdc4a660a3b53135e /clang/lib/AST/AttrImpl.cpp | |
parent | d64dfc156876737952337c87c079cc4bf8ad295f (diff) | |
download | bcm5719-llvm-ef5f6212150d1f148f9b15ec0d2ba6cd08701752.tar.gz bcm5719-llvm-ef5f6212150d1f148f9b15ec0d2ba6cd08701752.zip |
Implements Sema part of init_priority(priority) attribute
(radar 8076356) - wip.
llvm-svn: 106322
Diffstat (limited to 'clang/lib/AST/AttrImpl.cpp')
-rw-r--r-- | clang/lib/AST/AttrImpl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/AST/AttrImpl.cpp b/clang/lib/AST/AttrImpl.cpp index 1927a222e86..6db43c95652 100644 --- a/clang/lib/AST/AttrImpl.cpp +++ b/clang/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); } |