diff options
author | John McCall <rjmccall@apple.com> | 2013-04-16 07:28:30 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2013-04-16 07:28:30 +0000 |
commit | 5e77d76c953d915bfbbdc8c719e91e6fbc32e1f1 (patch) | |
tree | 1d9c716039e60789f7e65368080918995eafa605 /clang/lib/Sema/AttributeList.cpp | |
parent | 53756c4a897d268b6af9eb129ce2017a3d79ff8f (diff) | |
download | bcm5719-llvm-5e77d76c953d915bfbbdc8c719e91e6fbc32e1f1.tar.gz bcm5719-llvm-5e77d76c953d915bfbbdc8c719e91e6fbc32e1f1.zip |
Basic support for Microsoft property declarations and
references thereto.
Patch by Tong Shen!
llvm-svn: 179585
Diffstat (limited to 'clang/lib/Sema/AttributeList.cpp')
-rw-r--r-- | clang/lib/Sema/AttributeList.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Sema/AttributeList.cpp b/clang/lib/Sema/AttributeList.cpp index e227d4e840b..9ac4c63e191 100644 --- a/clang/lib/Sema/AttributeList.cpp +++ b/clang/lib/Sema/AttributeList.cpp @@ -23,6 +23,8 @@ size_t AttributeList::allocated_size() const { if (IsAvailability) return AttributeFactory::AvailabilityAllocSize; else if (IsTypeTagForDatatype) return AttributeFactory::TypeTagForDatatypeAllocSize; + else if (IsProperty) + return AttributeFactory::PropertyAllocSize; return (sizeof(AttributeList) + NumArgs * sizeof(Expr*)); } |